Fixed clearing fragment views

pull/207/head
M66B 3 years ago
parent 1ec503080a
commit 1ea9637a83

@ -805,11 +805,6 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
@Override @Override
public void onFragmentViewDestroyed(@NonNull FragmentManager fm, @NonNull Fragment f) { public void onFragmentViewDestroyed(@NonNull FragmentManager fm, @NonNull Fragment f) {
log(fm, f, "onFragmentViewDestroyed"); log(fm, f, "onFragmentViewDestroyed");
}
@Override
public void onFragmentDestroyed(@NonNull FragmentManager fm, @NonNull Fragment f) {
log(fm, f, "onFragmentDestroyed");
if (BuildConfig.PLAY_STORE_RELEASE) if (BuildConfig.PLAY_STORE_RELEASE)
return; return;
try { try {
@ -827,6 +822,11 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
} }
} }
@Override
public void onFragmentDestroyed(@NonNull FragmentManager fm, @NonNull Fragment f) {
log(fm, f, "onFragmentDestroyed");
}
@Override @Override
public void onFragmentDetached(@NonNull FragmentManager fm, @NonNull Fragment f) { public void onFragmentDetached(@NonNull FragmentManager fm, @NonNull Fragment f) {
log(fm, f, "onFragmentDetached"); log(fm, f, "onFragmentDetached");

Loading…
Cancel
Save