Siddhpura Amit
Siddhpura Amit

Reputation: 15128

Dynamic Vertical RecyclerView inside Vertical RecyclerView

I want to show dynamic vertical recyclerview inside vertical recyclerview. For ex. consider file manager in that one folder can contain multiple files and folder, when I tap on folder it shows it's inside file or folder.

enter image description here

In Above screenshot you can see, One group have multiple member as well as multiple group.

As shown here, group yjf have test group as well as member.

I want to implement same UI using Recyclerview. Does anyone have an idea how to implement this?

Upvotes: 0

Views: 342

Answers (2)

Vikas
Vikas

Reputation: 468

You should use NestedScrollView --RecyclerView-> Inside Recycler view Holder -> Use another Recycler View

Upvotes: 0

Piyush Maheswari
Piyush Maheswari

Reputation: 644

I think this can be done using the Expandable recycler view library. Check here - https://bignerdranch.github.io/expandable-recycler-view/ This might help.

Upvotes: 1

Related Questions