Hi, I've recently adapted a way to do load on demand listview and with loading image for each row in thread. The empty data is sent to adapter, at the end, the background thread kicks off at end of activity onCreate and as you fling to bottom, the OnScroll states noticed that you are at bottom list, and hence loads more data (15 items more per end of fling/listview).
since the list is empty when it was bound to listview (in onCreate() of acitivty) and load on demand, I'm experiencing scroll bar state gets wiped out every time when the device/emulator rotate the screen. I've tried to put a variable to remember the position and slam it to application level by extending application, but probably because the list was always empty initially and was load on demand so the position is always zero.. finally, here is my question. Is there any other way to do listview load on demand while also maintain its scroll state? Would I have to cache data that's being fling-ed and restore them back to fill listview? psuedo code or concept help are appreciated. thank you. Any suggestion would be appreciated. Thank you. -- 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

