Code example for ExpandableListView

Methods: getSelectedItemPosition

0
	/** 
	 * Get the position of the currently selected list item. 
	 */ 
	public int getSelectedItemPosition() { 
		ensureList(); 
		return mExpandableList.getSelectedItemPosition();
	} 
 
	/** 
	 * Get the cursor row ID of the currently selected list item. 
	 */ 
	public long getSelectedItemId() { 
		ensureList(); 
		return mExpandableList.getSelectedItemId();
	} 
 
	/** 
	 * Get the activity's list view widget. 
	 */ 
	public ExpandableListView getListView() {
		ensureList();