@Override protected void onDestroy() { super.onDestroy(); if (mActivityScope != null) { mActivityScope.destroy(); mActivityScope = null; } }
@Override protected void onDestroy() { activityPresenter.dropView(this); navigator.delegate().onDestroy(); navigator = null; if (isFinishing() && scope != null) { scope.destroy(); scope = null; } super.onDestroy(); }