Results 1 to 2 of 2

Thread: User interaction and unnecessary tasks

  1. #1
    Sencha User SunboX's Avatar
    Join Date
    Mar 2010
    Posts
    238
    Vote Rating
    28
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,335
    Vote Rating
    1296
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •