title: Dynamically change height of BottomSheetBehavior
body: <p>I'm using the <code>BottomSheetBehavior</code> from Google recently released AppCompat v23.2. The height of my bottom sheet depends on the content displayed inside of the bottom sheet (similar to the what Google does themselves in their Maps app).</p>
  
  <p>It works fine with the data loaded initially, but my application changes the content displayed during runtime and when this happens the bottom sheet retains at it's old height, which either leads to unused space at the bottom or a cut of view.</p>
  
  <p>Is there any way to inform the bottom sheet layout to recalculate the height used for expanded state (when height of the <code>ViewGroup</code> is set to <code>MATCH_HEIGHT</code>) or any way to manually set the required height?</p>
  
  <hr>
  
  <p><strong>EDIT:</strong> I also tried to manually call <code>invalidate()</code> on the <code>ViewGroup</code> and the parent of it but without any success.</p>