开发者

How do I navigate from child View to it's group View in ExpandableListView on Android?

Each child in my ExpandableListView builds a context menu. In my OnCreateContextMenuListener() I need to access some of the TextViews that are displaying data associated with the child's group. ExpandableListView.getPackedPositionGroup() tells me which group开发者_运维知识库 is the child's parent, but I've been unable to figure out how to use this to get a handle to the group View that the TextViews live on. What API am I not seeing?

Or is there a better way to get handles to the Views associated with a child's parent group?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜