I want to make below-mentioned expanding Layout inside RecylerView. This is how it looks when it is not expanded.

You can find the source code of Expandable RecyclerView in my GitHub repo here.

enter image description here enter image description here

Now on click of any Component buttons, I want to expand my View and show more details about any specific component clicked.

How I am doing it:

Currently, I am making Frame Layout in the expanding area and loading the desired fragment in that area.

What I want: I know this may be the best way to do it so I am seeking your advise that what could be the other better options to do.

Any advice will be highly appreciated. Thank you

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.