How to add Child and Parent items programmatically [ExpandableRecyclerView]?
How to add Child and Parent items programmatically [ExpandableRecyclerView]? Acutally i'm trying to implement in my app this Expandable Recycler View. So i made an project a part for make some test and just after i get how it's work impelent it in my app but i'm having some issues. I've used this classe's from the ERV github for build by app and i've added 2 EditText in the layout and 2 buttons , so that i would archive it if i write something in "GENRE" edittext and i press button ADD GENRE there will be added in RecyclerView an Item and if i put something in EditText Artist and i'll press ADD ARTIST i want that it will be added to the last added GENRE item in the RecyclerView . EditText buttons edittext RecyclerView EditText RecyclerView Here is my code from my MainActivity. public class MainActivity extends AppCompatActivity { public GenreAdapter adapter; List<Genre> parent; EditText artistTXT; EditText genreTXT; ...