RecyclerView that does not scroll and shows all items

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);

Related posts

Leave a Comment