I see. Well, I'm not doing much in the way of computations. The time taken is just in building the view hierarchy itself - creating and initializing the Views takes a few seconds. So it looks like I'll have to stream the UI with a Handler as I build it. It's a shame that the framework imposes so much added complexity for such a simple thing.
On Nov 6, 11:38 am, Romain Guy <romain...@android.com> wrote: > She did not suggest you crated the Views themselves in background thread, > but that your computations were done in a background thread. You need to > split the creation of the Views and whatever you are doing that's taking a > long time to compute. You can also stream the UI by adding Views one after > the other using Handler./View.post(Runnable). > > On Sat, Nov 6, 2010 at 11:24 AM, Bret Foreman <bret.fore...@gmail.com>wrote: > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en