Code example for ExpandableListView

Methods: getSelectedIdsetAdaptersetOnItemClickListener, setEmptyView, setVisibility, startAnimation

0
    public void setSelectedGroup(int groupPosition) {
        mList.setSelectedGroup(groupPosition);
    } 
    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) {