Code example for ExpandableListView

Methods: focusableViewAvailable

0
 
	final private Handler mHandler = new Handler();
 
	final private Runnable mRequestFocus = new Runnable() {
		public void run() { 
			mList.focusableViewAvailable(mList); 
		} 
	}; 
 
	final private AdapterView.OnItemClickListener mOnClickListener = new AdapterView.OnItemClickListener() {
		public void onItemClick(AdapterView<?> parent, View v, int position, long id) { 
			onListItemClick((ListView) parent, v, position, id); 
		} 
	}; 
	 
	final private AdapterView.OnItemLongClickListener mOnLongClickListener = new AdapterView.OnItemLongClickListener() {
		@Override 
		public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) { 
			return onListItemLongClick( (ListView) parent, view, position, id); 
		}