How to use RecyclerView inside NestedScrollView?
RecyclerView content is not visible after setting adapter.
UPDATE
One solution to keep the recycling feature of the recyclerview and avoiding the recyclerview to load all your data is setting a fix height in the recyclerview itself. By doing this the recyclerview is limited only to load as much as its height can show the user thus recycling its element if ever you scroll to the bottom/top.