title: Creating an expandable RecyclerView
body: <p>I'm trying to implement a recyclerview that behaves like my sketch below:</p>
  
  <p><a href="https://i.stack.imgur.com/TdM1c.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/TdM1c.jpg" alt="enter image description here"></a></p>
  
  <p>The idea is that there is a parent list, when an list item in the parent list is tapped, that list item reveals a child list that contains it's own data. when a list item is tapped in the child list, the value of that child is reflected and updates the value of the parent in the parent list item.</p>
  
  <p>I've tried to get it working for the past 3 days to no avail. I tried using the <a href="https://github.com/h6ah4i/android-advancedrecyclerview" rel="noreferrer">AdvancedReyclerview library</a> but to a beginner like me, it was a giant mess of things that didn't make sense especially when passing in the data. I copied and pasted files that I needed to get a minimal working version but I had no idea how to pass my data into the recyclerview and how to update it with the newly selected value.</p>
  
  <p>Is it even possible to do what I'm trying to do or am I way out of my depth here?</p>
  
  <p>If it's still difficult to understand, I can explain it more.</p>
  
  <p>EDIT: someone recommended that I do this with the ExpandableListView rather than the RecyclerView. Any thoughts on that?</p>