> (it is a quote from sources ListView.java) and only in this case. > Thus, if number of elements wasn't changed, everything is ok.
If you modify the adapter without changing the number of items it can also be bad. It's just that ListView does not detect this case. > On 15 окт, 16:47, Alexey <[email protected]> wrote: >> Romain, one more question. Is this rule applicable for adding/removing >> elements from adapter (in other words - changing number of elements in >> ListView) or also when changing content of elements? >> >> On 15 окт, 16:31, Alexey <[email protected]> wrote: >> >> > Romain, your answers are clear, but confusing. As I understood >> > modifying adapter should be done in workerthreadand only >> > notifyDataSetChanged in UIthread. >> > Now as I see the concept is different, but what if we need to add >> > several hundred items into adapter, won't UIthreadbe in freeze for >> > this time? > > > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

