Code example for AbsListView

Methods: setSelection

0
		else 
			lineToMoveTo = line;
 
		inst.runOnMainSync(new Runnable(){
			public void run(){ 
				view.setSelection(lineToMoveTo);
			} 
		}); 
	} 
 
 
	/** 
	 * Scrolls horizontally. 
	 * 
	 * @param side the side to which to scroll; {@link Side#RIGHT} or {@link Side#LEFT} 
	 */ 
 
	public void scrollToSide(Side side) {
		int screenHeight = activityUtils.getCurrentActivity().getWindowManager().getDefaultDisplay()
				.getHeight(); 
		int screenWidth = activityUtils.getCurrentActivity(false).getWindowManager().getDefaultDisplay()