1
ExpandableListViewの最初のアイテムがGroupIndicatorビューであるか、その下のchildViewであるかを確認できますか? plzは事前ExpandableListViewのFirstvisibleアイテムがGroupindicatorですか?
ExpandableListViewの最初のアイテムがGroupIndicatorビューであるか、その下のchildViewであるかを確認できますか? plzは事前ExpandableListViewのFirstvisibleアイテムがGroupindicatorですか?
で
感謝最後に、この
int firstVisibleItem = mExpListView.getFirstVisiblePosition();
long data = mExpListView.getExpandableListPosition(firstVisibleItem);
int type = mExpListView.getPackedPositionType(data);
if (type == ExpandableListView.PACKED_POSITION_TYPE_CHILD) {
Log.i("info", "childindicator");
}else
Log.i("info", "groupindicator");
を行うために管理を支援