안드로이드 개발 질문/답변
(글 수 45,052)
ExpandableListview로 만들고 항목을 만들고있는데요
너무 항목이 많아서 다시 세부항목을 만들고자
ExpandableList안에 ExpandableList 넣고 싶은데요 어떻게 하면 될까요?-_ㅠ
가능하나요?
public class MyExpandableListAdapter extends BaseExpandableListAdapter {
// Sample data set. children[i] contains the children (String[]) for groups[i].
private String[] groups = { " 매뉴1", " 매뉴2", " 매뉴3", " 매뉴4"};
private String[][] children = {
{"야호","후후"},
{"매롱"},
{"힘들다","살려주세요-_ㅠ"},
{여기에 새로운 expandable list view를 넣고 싶습니다.-_ㅠ}
};