Getting item's index from id in ExpandableListView
I need to get item's index(position) knowing its ID while using ExpandableListView. Is the开发者_JS百科re any way to do this without making complete hash id->index and searching it?
Thanks
getPackedPositionForChild()
and
getFlatListPosition()
On the ExpandableListView are your friends
精彩评论