I am creating UI similar to this one:
For this I did he following:
1. Took a parent recycler view
2. Defined two view types one for grid and one for vertical list and created two view holders.
3. Each view holder has a recycler view to which list and grid will be attached
4. Defined parent data model which is inherited by the models of list and grid.
The linear list contains around 2000 data. So when I am populating the child recycler view's adapter, it loads all data 2000 data at once(which should not happen with recycler view), thus there is visible delay. The data is fetched from server. I am unable to figure out what is happening with the child recycler view.