@Override
	public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {
		// what is the bottom item that is visible
		int lastInScreen = firstVisibleItem + visibleItemCount;

		boolean last = (lastInScreen == totalItemCount);

		if(last && callback.hasMoreItems() && !callback.isLoading()) {
			// Get next set...
			callback.onGetNextSet();
		}
	}
@Override
	public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {
		
		int lastInScreen = firstVisibleItem + visibleItemCount;

		boolean last = (lastInScreen == totalItemCount);

		if(last && callback.hasMoreItems() && !callback.isLoading()) {
			
			callback.onGetNextSet();
		}
	}
@ Override public void onScroll ( AbsListView view , int firstVisibleItem , int visibleItemCount , int totalItemCount ) { // what is the bottom item that is visible int lastInScreen = firstVisibleItem + visibleItemCount ; boolean last = ( lastInScreen == totalItemCount ) ; if ( last && callback . hasMoreItems ( ) && ! callback . isLoading ( ) ) { // Get next set... callback . onGetNextSet ( ) ; } }
/* (non-Javadoc)
@see android.widget.AbsListView.OnScrollListener#onScroll(android.widget.AbsListView, int, int, int)
/ * ( non - Javadoc )