tags:

views:

49

answers:

1

Hi!

I need to get item's index(position) knowing its ID while using ExpandableListView. Is there any way to do this without making complete hash id->index and searching it?

Thanks

+2  A: 
getPackedPositionForChild()

and

getFlatListPosition()

On the ExpandableListView are your friends

Alex Volovoy