If it is just a refresh and not an entirely new list or additions/ removals of elements, use notifyDataSetInvalidated() instead. I think it's a bit more efficient.
But, as far as i know, you can't specifiy a range of elements. But you can optimize it yourself. I do this at times using the list-item view's getTag() and setTag() methods. If the getTag() returns an object that is different than you would expect (with respect to the list-item's position), refresh the view's contents. Otherwise, leave it alone. On May 28, 9:51 am, twan <[email protected]> wrote: > Goodmorning, > > A call to notifyDataSetChanged() on a ArrayAdapter causes all items in > a listview to redraw. This is quite ineffecient. > > At swing you can control which items (or which range of items) redraw. > Is this also possible with android? > > Kind regards, > TWan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

