Code example for AbsListView

Methods: setSelection

0
		else 
			lineToMoveTo = line;
	 
		inst.runOnMainSync(new Runnable(){
			public void run(){ 
				view.setSelection(lineToMoveTo);
			} 
		}); 
	} 
	 
	/** 
	 * Scrolls a ScrollView. 
	 *  
	 * @param direction the direction to be scrolled 
	 * @return {@code true} if more scrolling can be done 
	 *  
	 */ 
	private boolean scrollScrollView(int direction, ArrayList<ScrollView> scrollViews){
		final ScrollView scroll = viewUtils.getView(ScrollView.class, scrollViews, 0);
		int scrollAmount = 0;