Fixes on updates on the PredictionRowView

> resetup header if content switches from empty to non-empty
> scroll to top on reset

Change-Id: Idc523a94990e9a8f9d639485fa5c7ec60eb378de
This commit is contained in:
Mario Bertschler
2018-01-12 16:07:08 -08:00
parent cc96aa1fd4
commit 94cb9e5288
2 changed files with 9 additions and 0 deletions

View File

@@ -176,6 +176,7 @@ public class FloatingHeaderView extends RelativeLayout implements
mAnimator.start();
mHeaderCollapsed = false;
mSnappedScrolledY = -mMaxTranslation;
mCurrentRV.scrollToTop();
}
public boolean isExpanded() {