Workaround a crash related to saving instance state and child controllers

This commit is contained in:
inorichi 2018-04-25 16:26:46 +02:00
parent 00981cf4e8
commit 5c31271e91

View File

@ -28,7 +28,7 @@ public class NucleusConductorDelegate<P extends Presenter> {
Bundle onSaveInstanceState() {
Bundle bundle = new Bundle();
getPresenter();
// getPresenter(); // Workaround a crash related to saving instance state with child routers
if (presenter != null) {
presenter.save(bundle);
}