Code example for AbsListView

Methods: getChildAt, getChildVisibleRect

	private static ChildDescriptor getFirstChildItemDescriptor(AbsListView view, int index){
		ChildDescriptor h = new ChildDescriptor(index);
			Rect r = new Rect();
			View child = view.getChildAt(0);
			child.getDrawingRect(r); = r.height();
			view.getChildVisibleRect(child, r, null);
			h.drawable = r.height();
			return h;
		} catch (Exception e){}
		return null; 
	public void onScrollStateChanged(AbsListView view, int scrollState) {
		// passing off to the extra listener, if there is one 
		if(onscrolllistener != null){