You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If fragment uses the same component as activity, after rotation fragment's onCreate() will be called before activity's onCreate(), causing NPE.
So if you use fragment (that share the same component) this is the correct order, I believe:
Mateusz do you use it that way (fragments are using component from activity) or they have separate component ?
And do you use one scope for all activities (NonConfigurationScope) ?
Ps.
This way to retain presenters is very clever, thanks for your time to share this!
The text was updated successfully, but these errors were encountered:
If fragment uses the same component as activity, after rotation fragment's onCreate() will be called before activity's onCreate(), causing NPE.
So if you use fragment (that share the same component) this is the correct order, I believe:
Mateusz do you use it that way (fragments are using component from activity) or they have separate component ?
And do you use one scope for all activities (NonConfigurationScope) ?
Ps.
This way to retain presenters is very clever, thanks for your time to share this!
The text was updated successfully, but these errors were encountered: