Code example for AbsListView

Methods: getCount, getLastVisiblePosition

0
	} 
	 
	private int lastBottom;
	private void checkScrolledBottom(AbsListView view, int scrollState){
		 
		int cc = view.getCount();
		int last = view.getLastVisiblePosition();
		 
		if(scrollState == OnScrollListener.SCROLL_STATE_IDLE && cc == last + 1){			
			if(last != lastBottom){
				lastBottom = last;
				invoke(view, scrollState);
			} 
			 
		}else{ 
			lastBottom = -1;
		} 
	} 
	 
	@Override 
	public void onScrollStateChanged(AbsListView view, int scrollState) {