Aha! I stand corrected. That is not what i understood from the API documentation...
Romain, could you describe the exact differences (and usage example) of the two? Thanks! About calling 'invalidate()': Does calling invalidate() on a list-item's View cause the 'getView()' method of an Adpater to be called? If i'm not mistaken, getView() does not get called on 'invalidate()'. But i could be wrong. TWan may need the adapter's getView() to be called for specific items to properly update the items' views. On May 28, 12:17 pm, Romain Guy <[email protected]> wrote: > No, notifyDataSetInvalidated() causes the entire content of ListView > to disappear. It's even more inefficient than notifyDataSetChanged(). > > If you want to refresh the content of a specific item, call > invalidate() on its View. If you changed the content of the Adapter > though, call notifyDataSetChanged(). > > -- > 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 -~----------~----~----~----~------~----~------~--~---

