Fragments removed after Activity recreate
I am developing an app, where fragments are changing in the container of one Activity. I am using FragmentTransaction.replace(R.id.container, fragment, tag) to switch between fragments. All fragments has setRetainInstance(true). When I press Home button and go back to app everything is ok, but when I turn on developers option "Don't keep activities" and do the same, I end up with "clean" activity where there is only the first (initial) fragment presents. In other words, after Activity is reinitialised all fragments are lost. How can I avoid that and save fragments state?
How to get view of hidden menu?
Android WEB RTC
how to avoid my app from starting automatically when i start facebook app
Android Studio project with old eclipse project structure disadvanteages?
ratingbar can not show current numStars
Execution failed for task Execution failed for task
Android Studio not rendering preview properly
Missing menu button on MasterDetailPage when assigning App.MainPage
FileObserver onEvent method not called saving videos
Android getting data from facebook json
How can I prevent Android Activity from entering portrait mode breifly when I have specified landscape?
Toolbar is not fully hidden on scroll
Why my Text to Speech setup does not initialize successfully?
Android camera auto exposure lock on taking multiple pictures
common www folder and all files for all platform in cordova
Android: get a handler to the app's icon from an SDK