Fix bug where LoaderManager instances were not being removed.
Change-Id: Ic8385ff60623ecd3e9fe8ff4360aef2c3b11f24f
This commit is contained in:
@@ -316,6 +316,7 @@ public class FragmentManager {
|
||||
throw new SuperNotCalledException("Fragment " + f
|
||||
+ " did not call through to super.onDetach()");
|
||||
}
|
||||
f.mActivity.mAllLoaderManagers.remove(f.mIndex);
|
||||
f.mActivity = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user