RecyclerView that does not scroll and shows all items
’It’s pretty simple, simply set the RecyclerView’s height to wrap_content.
You might also benefit from disabling nested scrolling on the recycler view, like so:
RecyclerView recycler = (RecyclerView) findViewById(R.id.recycler);
recycler.setNestedScrollingEnabled(false);
RecyclerView that does not scroll and shows all items
Reviewed by Anonymous
on
May 29, 2018
Rating:

No comments: