[android-developers] Re: notifyDataSetInvalidated does *not* reset scroll position

2009-12-11 Thread WoodManEXP
I have run into the same thing in 1.6 in that sometimes notifyDataSetInvalidated sends the list back to the top and sometimes it does not. Here is a block of code that seems to work (at least it has not "not worked" yet in testing). lViewAdapter.notifyDataSetInvalidated(); // New data, this does n

[android-developers] Re: notifyDataSetInvalidated does *not* reset scroll position

2009-12-06 Thread ggcespia
Hello - does anyone have a work around for this 'new' behavior. The idea would be to reset the scroll position like notifyDataSetInvalidated() used to do... On Nov 23, 6:02 pm, ggcespia wrote: > In the 1.5 OS, the notifyDataSetInvalidated() not only invalidated the > data source, but also reset