Home > Mobile >  Recyclerview and sqlite
Recyclerview and sqlite

Time:09-18

If I now have a database, there are two columns, as the Numbers and the corresponding different letters, such as 1 aa, er, 1 ni,
How the recyclerview displayed, make the same number together, and the same Numbers have a title (similar to taobao orders, the title and content with different layout)

CodePudding user response:

https://blog.csdn.net/fan7983377/article/details/77949101

Data is well organized

CodePudding user response:

Thanks to the moderators, moderator have examples of the database category,
Such as the original database contains
1 lo
2 the op
Er 1
3 ti
Finally fill to recyclerView is shown as:
1
1 lo
Er 1
2
2 the op
3
3 ti
Moderator you give this example only data after the separation of good appearance, is not very understand how to implement, in front of the
  • Related