Merge branch 'qa' into feature/qa_f
This commit is contained in:
@@ -443,6 +443,7 @@ public class EntranceFragment extends MvpFragment< EntranceView, EntrancePresent
|
||||
public void onDestroyView() {
|
||||
super.onDestroyView();
|
||||
isClickShare = false;
|
||||
TopViewAnimHelper.getInstance().removeAllView();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -682,4 +682,21 @@ public class TopViewAnimHelper {
|
||||
tvTurnInfo.setVisibility(visibility);
|
||||
|
||||
}
|
||||
|
||||
public void removeAllView(){
|
||||
Logger.d(TAG, "remove all view");
|
||||
isTopViewOut = true;
|
||||
int lastCount = topContainer.getChildCount();
|
||||
for (int i = 0; i < lastCount; i++) {
|
||||
View child = topContainer.getChildAt(i);
|
||||
viewCaches.remove(child);
|
||||
IMogoTopViewStatusListener listener = statusListenerMap.remove(child);
|
||||
if (listener != null) {
|
||||
listener.onViewRemoved(child);
|
||||
}
|
||||
}
|
||||
topContainer.removeAllViews();
|
||||
hideNaviView();
|
||||
MapCenterPointStrategy.setMapCenterPointByScene(mogoMapUIController, Scene.AIMLESS);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user