RecyclerView inside NestedScrollView causes RecyclerView to inflate all elements

后端 未结 2 1213
清歌不尽
清歌不尽 2020-12-21 07:45

I\'m having an issue with placing a RecyclerView inside a NestedScrollView, which causes ALL elements of the RecyclerView\'s adapter to be rendered.

This is a rather

2条回答
  •  时光取名叫无心
    2020-12-21 08:13

    If you have large amount of data to display,show only some numbers of data first time than on scroll use loadMoreListener to get next data.

提交回复
热议问题