Just did the same last week "lazy load pagination" .... here is how I
did this:
* added the custom footer to my class (inherited from ListView), with
the spinning ProgressBar  and TextView that says something like
"Loading...".
* in the custom adapter in the getView implementation, request more
items when the requested position is the last one in the data
collection.
* after more items received, add them to the data adapter collection
and call notifyDataSetChanged.
* if there is no more items available, remove the custom footer view
from the list.


On Dec 7, 8:28 pm, n179911 <[email protected]> wrote:
> Hi,
>
> In the android market app, the ListView shows a 'ProgressView' during the
> loading of the content of the ListView, and then when the loading is done,
> it shows the content of the ListView.
>
> Can you please tell me how to achieve that?
>
> 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

Reply via email to