There's no performance issue: you do all the work on a background thread and then you add everything in the adapter on the UI thread. A simple loop to add() several hundreds elements should not freeze the UI.
On Oct 19, 2009 2:49 AM, "Alexey" <goalstu...@gmail.com> wrote: On 16 окт, 20:10, Romain Guy <romain...@google.com> wrote: > > (it is a quote from sources ListVi... Thanks, Sergey. > If you modify the adapter without changing the number of items it can > also be bad. It's just th... Ok, Romain, this is clear. but what about performance? In example, we have the ListView that should be filled with the data from the server. When we will fill it on UI thread will it cause UI freezing if we have a lot of elements (several hundred)? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are sub... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---