Hi all, What would be a good solution to implement...
# android
k
Hi all, What would be a good solution to implement a screen like google play store? My current screen has a vertical list and each item in the list contains a horizontal scrollable list. I implementing a nested RecyclerView, but the performance isn't great, the vertical scroll is lagging. What would be a better solution to keep in mind the performance? Thanks!
stackoverflow 3
d
Use RecycledViewPool to share views across the nested RecyclerViews https://developer.android.com/reference/androidx/recyclerview/widget/RecyclerView.RecycledViewPool
­čĹŹ 2
k
thanks!
s
You can create one recyclerview and use different layout type