title: RecyclerView with expandable items
body: <p>I need to make an expandable <code>RecyclerView</code>, with only one opened item per click (all others must close).
  I know there is possibility to do this with the help of <code>ExpandableListView</code> and then use next code:</p>
  
  <pre><code>elv.setOnGroupExpandListener(new OnGroupExpandListener() {
  
      @Override
      public void onGroupExpand(int groupPosition) {
              if (lastExpandedPosition != -1
                      &amp;&amp; groupPosition != lastExpandedPosition) {
                  elv.collapseGroup(lastExpandedPosition);
              }
              lastExpandedPosition = groupPosition;
      }
  });
  </code></pre>
  
  <p>but is there the way to make the same with using <code>RecyclerView</code>?</p>