hi,
I am using below code snippet to fire a scroll event.
public void onScroll(AbsListView view, int firstVisible, int
visibleCount,
int totalCount) {
topPosition = firstVisible;
boolean loadMore = /* maybe add a padding */
firstVisible + visibleCount >= totalCount;
My problem is when activity loads first time onscroll method is call
by default when i am having less data in my listview.
can anyone tell me how to prevent this?
--
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