title: Android - Maintain recylerview selected item when view resizing
body: <p>I have two FrameLayouts in an activity. The first one contains either a recylerview, or listview, the second one contains different controls depending on the situation.</p>
  
  <p>I want to keep the selected item in the recylerview visible to the user when the controls are added to the second framelayout.</p>
  
  <p>I use scrollToPosition on the recylerview layout manager when an item is selected, but this is called before the new controls are visible on screen so the selected item in the recylerview can be off screen.</p>
  
  <p>Does anyone have any idea how I can achieve this?</p>