Tuesday, March 8, 2011

[android-developers] Re: Start laoding when scroll reaches end

You can do these by getting creative with an AbsListView.OnScrollListener attached to your ListView and refreshing its adapter.

Doug

On Monday, March 7, 2011 1:09:39 AM UTC-8, Abhishek Talwar wrote:
Hey guys
I am parsing xml and i want that when the scroll is reached to the end
then the request to new data is handled.
For ex if the list is showing only 10 results and when i scrolled down
to the last result item ,then :-

1. how to show the "loading" view same as it is in market when we
search for applications and scroll down the loading text appears.

2. and then show the list of the result items appended to the existing
list

My approach till now :-
I have made a custom ScrollView and am printing the message when the
scroll reaches the end.
Now i want to show the "loading" text on activity screen when the
scroll reaches end.

Thanks

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment