Reputation: 26008
How can I display information in the following format? What controls should I use, listView or RecycleView?
Note that the question isn't about this particular activity and how to use it. It's about how to show the information in the same format and how to create the layout for it.
Upvotes: 0
Views: 58
Reputation: 433
You can make exactly the same thing using the layout simple_expandable_list_item_2 in the SimpleAdapter of a ListAdapter (here is how you do it : Displaying kind of static data in ListView)
RecyclerView is of course much better in terms of performance and flexibility. However, ListView is enough in many cases like this one.
Upvotes: 1
Reputation: 6620
That is a ListView. You would just need a ListAdapter/ArrayAdapter to fill it and that's about it.
Upvotes: 1