Code example for ExpandableListAdapter

Methods: getChild

0
            { 
                // まずはAdapterを取得 
                ExpandableListAdapter adapter = parent.getExpandableListAdapter();
 
                // Adapterから子のデータMapを取得 
                Map<String, Object> childMap = (Map<String, Object>)adapter.getChild(
                        groupPosition,
                        childPosition
                ); 
 
                return false; 
            } 
        }); 
    } 
 
    public void onDateChanged(DatePicker view, int year, int monthOfYear,
            int dayOfMonth) {
        // TODO Auto-generated method stub 
        view.updateDate(year, monthOfYear, dayOfMonth);
        //Log.d(TAG, "Year" + year + "Month" + dayOfMonth + "Day" + dayOfMonth); 
    }