我有一个 ExpandableListView 之类的;
Category1
|
|__ SubCategory1 -> index 0
|
|__ SubCategory2 -> index 1
Category2
|
|__ SubCategory1 -> index 2
|
|__ SubCategory2 -> index 3
|
|__ SubCategory3 -> index 4
Category3
|
|__ SubCategory1 -> index 5
我想获取如右侧所示的索引值并将它们与 ArrayList arrayList.get(indexValue) 链接
我必须如何获得上面的 indexValues?