My Android app consists three fragments: A, B and C. They\'re loaded in the two containers defined in the MainActivity layout.
MainActivity
When th
if you use setRetainInstance(true) than you can't use findFragmentByTag() in onCreate from the Activity. Do it at onResume
setRetainInstance(true)
findFragmentByTag()
onCreate
see the documentation: setRetainInstance