Can Honeycomb Loaders solve problems with AsyncTask + UI update?

后端 未结 2 678
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-02 00:13

Doing something in background and then updating UI is very hard to implement correctly in Android. It\'s simply badly designed. Typical example is an AsyncTask that fetches some

2条回答
  •  情深已故
    2021-02-02 00:58

    Yes, from my experience with Loader they seem to solve the common problems people have with AsyncTasks and configuration changes.

    I think Google said that the fragments static library would include Loaders as well so yes, they should work backwards too when the library is released.

提交回复
热议问题