super.onSaveInstanceState(outState);
}
void onSingletonInitialized() {
this.mSingleton = Singleton.getInstance();
}
<BUG>void initializeSingleton() {
Singleton.init(getActivity(), new Singleton.Callbacks() {
@Override
public void onInitialized() {
onSingletonInitialized();
}
});</BUG>
}

super.onSaveInstanceState(outState);
}
void onSingletonInitialized() {
this.mSingleton = Singleton.getInstance();
}
void initializeSingleton() {
Singleton.init(getActivity(), () -> onSingletonInitialized());
}
