Code example for AbsListView.OnScrollListener

Methods: onScrollStateChanged

0
			onScrollStateChanged((ExpandableListView) view, scrollState); 
		}else{ 
			onScrollStateChanged2(view, scrollState);
		} 
		 
		if(osl != null) osl.onScrollStateChanged(view, scrollState);
	} 
	 
	private void onScrollStateChanged(ExpandableListView elv, int scrollState){
		 
		elv.setTag(AQuery.TAG_NUM, scrollState);
		 
		if(scrollState == SCROLL_STATE_IDLE){
			 
			int first = elv.getFirstVisiblePosition();
			int last = elv.getLastVisiblePosition();
			 
			int count = last - first;
			 
			ExpandableListAdapter ela = elv.getExpandableListAdapter();