Posts

Showing posts with the label Expandable Recyler Adapter

Expandable Recyler View

Image
Expandable Recyler View :- This example will show how to use expandable recyler view in  your android project. In my project i am using bignerdranch library for expandable recyler adapter. I am going to show you how can you use this lib to your project. This example include the click of the last item that is expanded.You can perform any function on any item click. You can download that lib from :- https://github.com/bignerdranch/expandable-recycler-view Or compile 'com.bignerdranch.android:expandablerecyclerview:3.0.0-RC1' 1) Create one pojo class like below :- Question.java  :- You should implements ParentListItem to model class to make the class use for recyler adapter. public class Question implements ParentListItem {     private List<Answer> answer;     private String question;     public Question(String question, List<Answer> answer) {         this.answer = answer;   ...