Activity 页面
private int[][] tags = null; private int a; private int b;
protected void init() { setContentView(R.layout.activity_tank_list_editor); Intent intent = getIntent(); mGroup = intent.getStringArrayListExtra("groupData"); Bundle bundle = intent.getExtras(); SerializableMap mMap = (SerializableMap) bundle.get("childData"); mChild = mMap.getMap();//这里a,b分别对应的是ExpandableListView父类和子类的个数,
a=50; b=100; tags = new int[a][b]; findView(); setView(); setListener(); }private void setListener() {//这里我们要给点击过的item 设置状态,
expandListView.setOnChildClickListener(new ExpandableListView.OnChildClickListener() { @Override public boolean onChildClick(ExpandableListView parent