开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜