I was using a ScrollView for displaying some (5-7) heterogeneous information card (Each of them has its different layout and can contain sub RecyclerViews and images which is complex). However for tablet support I'd like to use RecyclerView's existing LayoutManager for linear/grid layout switching.
When I was using ScrollView, all views are inflated at once, and the lag only comes at loading which is uoticeable. However when switched to a RecyclerView, the views are inflated upon scrolling and the scroll lags noticeably.
So how can I force RecyclerView to inflate all items at once, and do not recycle them, just like a ScrollView? I've taken a glance at Recyclers and LayoutManagers but couldn't get a clue. Any help is appreciated.
