Sreekanth Karumanaghat
Sreekanth Karumanaghat

Reputation: 3403

List(with out scroll) inside a RecyclerView row

I want a list inside a recycler view, I don't want nested scroll, what is the best approach for this?

What I am considering now is that dynamically add the inner list rows. If that is the case, let the adapter hold the whole data for the inner list. The number of list rows in each row of the recycler view row is not fixed.

Please voice your opinions with pros and cons.

NB:- I dont have any code to post since I am working on this.

Upvotes: 0

Views: 62

Answers (1)

Niraj Sanghani
Niraj Sanghani

Reputation: 1493

Inside List View you need to Disable scrolling.

i.e listview.setNestedScrollingEnable(false);

Upvotes: 0

Related Questions