Here's how I would go about it...

Listen for the scroll state - OnScrollListener.SCROLL_STATE_IDLE

When it's idle, calculate the distance between the end of the
scrollbar and the bottom of the view.

If it's 50 pixels (or whatever) - fetch more data from the server.

On Sep 13, 5:43 pm, Engin Arslan <[email protected]> wrote:
> Hi, I use listview in my application. I get listview values from
> server so it is a little slow. So I want to optimize it such a way. I
> will load 10 content of listview and load anotjer 10 content when user
> pull down listview. Method is similar to google market method. My
> question is that how can ı get user pull down listview so ı will looad
> other part of listview from server?
--~--~---------~--~----~------------~-------~--~----~
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