Recycler View loading very slow for large data when inside NestedScrollView
This case of RecyclerView
inside NestedScrollView
.
RecyclerView
is calling onCreateViewHolder()
times equal to your data size.
If data has 200 items, it freezes for onCreateViewHolder()
to be called 200 times.