I think there is an even simpler way to reproduce the problem.
Svetlozar Kostadinov

Well in terms of this article only I use Fragment#setRetainInstance(boolean) just for performance. As stated in Fragment class javadoc for this method:

If set, the fragment (…) {@link #onCreate(Bundle)} will not be called since the fragment is not being re-created.

So by setting setRetainInstance(true) I make sure that on regular Activity re-creation (such as from a configuration change) onInjectView() won’t be called thus any injected fields won’t be re-injected.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.