1. Using Recyclerview
The
list in the Android app is a very important control, for a lot of occasions, such as news list, app list, message list and so on, but from Android birth to now there is no very good list control, early ListView usage is very complex, especially the custom column Table, is simply hell, because it also involves a lot of efficiency optimization problems, novice difficult to write efficient list-based applications, and the ListView can only render content vertically, using very inflexible, in order to solve this flaw, Android officially launched the Recyclerview control, Used to replace the ListView.
core content:
- How to use Android Recyclerview
- Android Recyclerview Landscape Layout
- Android Recyclerview Vertical Layout
- Android Recyclerview Table layout
2. Use the resource file to customize the list item
3. Recyclerview's layout file
Android Advanced UI Design Note 07:recyclerview usage (listview extension)