title: How to implement Expandable items with LinearLayoutManager (introduced with Android L)
body: <p><code>RecyclerView</code> has been introduced with Android L and is part of the AppCompat v7 library. I then decided to update my app with this brand new <code>RecyclerView</code> to replace my <code>ListView</code>s.
  For doing so, when it comes to set a <code>LayoutManager</code> for the <code>RecyclerView</code>, I am using the <code>LinearLayoutManager</code>, which works fine.</p>
  
  <p>Here is the hard stuff: when <strong>I want to change my <code>ExpandableListView</code> to a <code>RecyclerView</code></strong>.
  Since Google has not created an "<code>ExpandableLayoutManager</code>", this is quite tricky and I can't achieve this.</p>
  
  <p>The <a href="https://developer.android.com/reference/android/support/v7/widget/LinearLayoutManager.html" rel="nofollow noreferrer">documentation</a> mentions children but it appears to be children of the root view of the <code>RecyclerView</code> not of children themselves.</p>
  
  <p>Has someone a workaround or some clues about it?
  Or at least some information like where to start so that I can implement my own <code>LayoutManager</code>.</p>