同步顶部弹窗容器准备状态

This commit is contained in:
wangcongtao
2021-01-14 10:36:24 +08:00
parent 1b6acc5266
commit 081ccff243
4 changed files with 39 additions and 1 deletions

View File

@@ -684,11 +684,21 @@ public class EntranceFragment extends MvpFragment<EntranceView, EntrancePresente
getContext().getResources().getStringArray(R.array.search_voice_guide_outer_array);
}
@Override
public void onResume() {
super.onResume();
if ( mStatusManager.isTopContainerReady() ) {
return;
}
mStatusManager.setTopContainerReady( TAG, true );
}
@Override
public void onDestroyView() {
mCameraLiveNoticeHelper.release();
super.onDestroyView();
isClickShare = false;
mStatusManager.setTopContainerReady( TAG, false );
TopViewAnimHelper.getInstance().removeAllView();
TopViewAnimHelper.getInstance().clear();
TopViewNoLinkageAnimHelper.getInstance().removeAllView();