Expandablelistview에 대한 개인 레코드 데이터 중복 문제

1297 단어
전재:https://blog.csdn.net/wu_zi/article/details/51643718
BaseExpandableListAdapter                          .
@Override
public long getGroupId(int groupPosition) {
    return groupPosition;
}

@Override
public long getChildId(int groupPosition, int childPosition) {
    return getCombinedChildId(groupPosition, childPosition);
}

@Override
public long getCombinedChildId(long groupId, long childId) {
    return super.getCombinedChildId(groupId, childId);
}

좋은 웹페이지 즐겨찾기