[android-developers] Handling Expensive Operations in the UI Thread

2012-09-14 Thread Amit Mangal
hi there, i have list fragment activity. my app is openingvery slow cause i am loading data from list view please any body have code to load it fast. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Handling Expensive Operations in the UI Thread

2012-09-14 Thread Felipe Silveira
You need to use Loaders http://developer.android.com/guide/components/loaders.html or, if it is the case, an AsyncTask: http://developer.android.com/reference/android/os/AsyncTask.html Good luck On Fri, Sep 14, 2012 at 10:52 AM, Amit Mangal forum.amit.man...@gmail.comwrote: hi there, i have

[android-developers] handling expensive operations in the UI thread - posting result from worker thread to UI thread

2009-09-16 Thread rukiman
OK I'm reading this page: http://developer.android.com/guide/appendix/faq/commontasks.html#threading The code is as in the example (see below). In my application, the worker thread has done loading of large bitmaps, and I need to notify the UI thread the filename of the bitmap that was loaded as