Code example for ExpandableListView

Methods: setSelectedChild

     * @param shouldExpandGroup Whether the child's group should be expanded if 
     *            it is collapsed. 
     * @return Whether the selection was successfully set on the child. 
    public boolean setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) {
        return mList.setSelectedChild(groupPosition, childPosition, shouldExpandGroup);
     * Sets the selection to the specified group. 
     * @param groupPosition The position of the group that should be selected. 
    public void setSelectedGroup(int groupPosition) {