1. UI 走查修改

2. 其他修复。
This commit is contained in:
wangcongtao
2020-09-28 20:11:29 +08:00
parent a5f7e7d910
commit 0d84238be4
41 changed files with 221 additions and 19 deletions

View File

@@ -607,6 +607,7 @@ public class EntranceFragment extends MvpFragment<EntranceView, EntrancePresente
isClickShare = false;
TopViewAnimHelper.getInstance().removeAllView();
TopViewAnimHelper.getInstance().clear();
EntranceViewHolder.getInstance().release();
}
@Override

View File

@@ -105,4 +105,8 @@ public class EntranceViewHolder {
}
}
public void release(){
rootViewGroup = null;
}
}

View File

@@ -49,8 +49,8 @@ public class TopViewAnimHelper {
private TextView tvTurnInfo;
private TopView topContainer;
private ConstraintSet constraintSet = new ConstraintSet();
private Transition transition = new AutoTransition();
private ConstraintSet constraintSet;
private Transition transition;
private TextView cameraMode;
private float topHeight = 0f;
@@ -84,6 +84,10 @@ public class TopViewAnimHelper {
}
public void init(ConstraintLayout rootView, OnTopViewAnimSimpleListener listener) {
constraintSet = new ConstraintSet();
transition = new AutoTransition();
topMotionLayout = rootView;
naviBg = rootView.findViewById(R.id.module_map_id_navi_bg);
remainTimeGroup = rootView.findViewById(R.id.remainTimeGroup);