Code example for ScrollView

Methods: removeAllViewsaddView

0
    } 
 
	/* @see android.widget.AdapterView.OnItemSelectedListener#onItemSelected(android.widget.AdapterView, android.view.View, int, long) */ 
	@Override 
	public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
		svScroll.removeAllViews();
		svScroll.addView(tblConditions[position]);
	} 
 
	/* @see android.widget.AdapterView.OnItemSelectedListener#onNothingSelected(android.widget.AdapterView) */ 
	@Override 
	public void onNothingSelected(AdapterView<?> parent) {
		 
	} 
	 
	private void publishEvent() { 
		Log.d(LOG_TAG, "publishing eventinfo");
	} 
	 
}