How to add condition in Android View getView (int position, View convertView, ViewGroup parent)
问题 I have a Arraylist that contain a hashmap . hashmap contain a Topic name, Name and value. For example hashmap object like this.(I did not add the key for the example.) {"Topic A", "Name 1" , "100"} {"Topic A", "Name 2" , "100"} {"Topic A", "Name 3" , "100"} {"Topic A", "Name 4" , "100"} {"Topic B", "Name 1" , "100"} {"Topic B", "Name 2" , "100"} {"Topic B", "Name 3" , "100"} {"Topic B", "Name 4" , "100"} {"Topic C", "Name 1" , "100"} {"Topic C", "Name 2" , "100"} {"Topic C", "Name 3" , "100"}