我有这个listview,在父类别(Beginner_Ex)中有childs(Wall Pushup等)。我该如何打造一个祖父母'对于父母?
- 我现在有:
父 - 儿童 - 儿童 --Child
我想要的是:
祖父母 ---父 - - - 儿童 ------儿童
public static HashMap<String, List<String>> getInfo()
{
HashMap<String, List<String>> ExDetails = new HashMap<String, List<String>>();
List<String> Beginner_Ex = new ArrayList<String>();
Beginner_Ex.add("Wall Pushup");
Beginner_Ex.add("Knee Pushup");
Beginner_Ex.add("Regular Pushup");
Beginner_Ex.add("Assisted Pullup");
Beginner_Ex.add("Leg Raise on Ground");
ExDetails.put("Beginner", Beginner_Ex);
ExDetails.put("Experienced", Experi_Ex);
ExDetails.put("Advanced", Advanced_Ex);
ExDetails.put("Expert", Expert_Ex);
ExDetails.put("Impossible", Imposs_Ex);
return ExDetails;