So if in
void ChildClick(object o, ExpandableListView.ChildClickEventArgs e)
o is the ExpandableListView that was clicked and
e.Parent is also the ExpandableListView that was clicked and
trying to create an instance of the LinearLayout in the Group for which the ChildClick took place by doing
ExpandableListView view = o;
LinearLayout group = (LinearLayout) view.GetChildAt(e.GroupPosition);
returns the LinearLayout in the nth position and not the GROUP layout in the nth position, how do I get an instance of the LinearLayout in the Group for which the child was clicked?
So this seems like going around my elbow to get to my ass instead of just having the parent of the child group actually be the parent group instead of the list view itself, but I’ve been able to get what I needed thusly:
Still open for suggestions if there is a way to get an instance of the actual group layout rather than just hoping the string in mAdapter always has the same number of comma delimited strings and the one I am after is always in the same spot. I want to get the actual LinearLayout in group position n so I can find the TextView by ID inside of it.