Code example for ExpandableListView

Methods: getSelectedIdsetAdaptersetOnChildClickListenersetOnItemClickListener, setEmptyView

0
        return mList.getSelectedPosition();
    } 
  
    public long getSelectedId() { 
        ensureList(); 
        return mList.getSelectedId();
    } 
  
    public ExpandableListView getExpandableListView() {
        ensureList(); 
        return mList;
    } 
  
    /** 
     * The default content for a ListFragment has a TextView that can 
     * be shown when the list is empty.  If you would like to have it 
     * shown, call this method to supply the text it should use. 
     */ 
    public void setEmptyText(CharSequence text) {
        ensureList(); 
        if (mStandardEmptyView == null) {