I am trying to implement multi-column in ListView. Currently I have used a GridView for each row to give Column look. However I can think of one more approach of making the ListView row contain all the column Layout of Gridview and while binding iterate over the layout and assign data.
Approach #1: ListViewRow-> contains GridView GridViewRow-> Layout for each column
Approach #2: ListViewRow contains say 12 LinearLayouts each having its own display (display wise all LinearLayouts are same). Similar to this
Which of these approaches will be good in performance terms?
看一下相对布局,也许您可以在listviewrow中使用它
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.