How to switch from child view to it? Open in ExpandableListView on Android?

Each child of my ExpandableListView creates a context menu. In my OnCreateContextMenuListener (), I need to access some of the TextViews that display data associated with a child group. ExpandableListView.getPackedPositionGroup () tells me which group is the parent, but I could not figure out how to use this to get the view of the View group in which the TextView lives. What API do I not see?

Or is there a better way to access views related to a child parent group?

+3
source share

Source: https://habr.com/ru/post/1766444/


All Articles