1. #1
    Sencha User SunboX's Avatar
    Join Date
    Mar 2010
    Posts
    235
    Vote Rating
    19
    SunboX will become famous soon enough SunboX will become famous soon enough

      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
    St. Louis, MO
    Posts
    33,582
    Vote Rating
    434
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      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
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

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