ExpandableListView elv = (ExpandableListView)findViewById(R.id.elvMarks);
MyexpandableListAdapter ad = new MyexpandableListAdapter();
elv.setAdapter(ad);
for(int i=0;i<ad.getGroupCount();i++)
elv.expandGroup(i);

public boolean expandGroup (int groupPos)

  • True if the group was expanded, false otherwise (if the group was already expanded, this will return false) 
  •  
    신고
    Posted by Leo 리오 트랙백 0 : 댓글 0