Code example for Scroller

0
	/** 
	 * Each pane exists inside of a scroll view. 
	 */ 
	private ArrayList<SimpleScrollView> scrollers;
 
	/** 
	 * Each pane contains a container for something else (fragment, view, etc) 
	 */ 
	private ArrayList<PaneView> panes;
 
	/** 
	 * Index (index) of the currently selected index 
	 */ 
	private int currentIndex = 0;
 
	/** 
	 * Currently visible indexes. Complete means the pane is completely visible. 
	 */ 
	private int firstIndex;
	private int firstCompleteIndex;
	private int lastIndex;