I make small project with RecyclerView with CardView items inside. I created expandable card (expanded by pressing on small button inside the card). Each card always contain
You can use this lib instance your self developed way, try this:
STEP 1: Add below dependency to your build.gradle
file:
**compile 'com.github.traex.expandablelayout:library:1.2.2'** use instead of
compile 'com.github.traex.expandablelayout:library:1.3'
STEP 2: Add below View to Your card layout ,card_layout
Must be look like this:
STEP 3: In your define of RecyclerView remember to:
recList.setItemViewCacheSize(ITEMS_COUNT);
Feel free to Ask :-)