ArrayList<ArrayList<String>> mainlist = new ArrayList<ArrayList<String>>();
ArrayList<String> childlist = new ArrayList<String>();
for (int i = 0; i < 3 i++){
String chlidtext = chlidlist + String.valueof(i);
String maintext = mainlist +String.Valueof(i);
childlist.add(chlidtext);
mainlist.add(maintext);
}
return mainlist;
我不知道如何在每个 chlidlist 中获取第三个元素?