Code example for GridView

Methods: getNumColumns

0
	@Override 
	protected void adaptToContext() 
	{ 
		// TODO Auto-generated method stub 
 
		columnNumber.setProgress(requesting.getNumColumns() - offset);
		display.setText(String.valueOf(columnNumber.getProgress() + offset));
	} 
	 
	/** 
	 *  
	 * @author funklos 
	 *  
	 */ 
	private class ColumnNumberListener implements OnSeekBarChangeListener
	{ 
 
		@Override 
		public void onProgressChanged(SeekBar bar, int val, boolean arg2)
		{ 
			display.setText(String.valueOf(val + offset));