1. #1
    Sencha User SunboX's Avatar
    Join Date
    Mar 2010
    Posts
    238
    Vote Rating
    28
    SunboX has a spectacular aura about SunboX has a spectacular aura about

      0  

    Default User interaction and unnecessary tasks

    User interaction and unnecessary tasks


    User interaction and responsiveness of the UI is the most important task. Is there anyway to tell ST to not doing anything, except really necessary things, if the user starts touching something (a list, or a simple button) and continue on touchend? I think of things like fetching data, geopositioning tasks, map updates, or DelayedTasks aso.

    ST should pause are all unnecessary things between user interaction. Is there any way to configure such behavior?

    greetings Sunny

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    898
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    JavaScript is a synchronous language and there is no important task that can take priority over another. Now there are things that area async like an Ajax loading or Geolocation but this is because it's not 100% JavaScript (Ajax is an Xhr request, Geolocation is a device API).
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1