I'm new to the android backend. In my application, I need to show the data as in the photo. These are blocks 200x200 and more. Each block is divided by 10x10. I used RecyclerView in another RecyclerView to get this view, but it is slow. How to make it faster? I used part loading (adapter.notifyDataSetChanged) but scrolling working bad
Asked
Active
Viewed 262 times
0

buka
- 83
- 2
- 6
-
Perhaps instead of recycler view inside a recycler view try using a GridLayoutManager... see here https://stackoverflow.com/questions/40587168/simple-android-grid-example-using-recyclerview-with-gridlayoutmanager-like-the – Quinn Jan 03 '20 at 16:55
-
Are you making a lot of logic in the RecyclerView adapter? if so you should do that logic before, and in the adapter just simply display the views – Diogo Rosa Jan 03 '20 at 17:20
-
Thanks to all for the help – buka Jan 04 '20 at 18:43