Weekly Questions Thread - February 11, 2019

I've been trying to save the state of a GoogleMap's CameraPosition when the Fragment my map is in is paused and then use it back when the Fragment is resumed. I started with onPause and onResume since it seemed most logical. onActivityCreated sounded least logical, since the main activity is never killed, but I still gave it a shot. SharedPreferences was kind of a last resort, but still didn't do the job. I have no idea if I am understanding the whole pause-resume thing wrong, or if the way I'm doing it is where I'm going wrong. I've described the whole thing in more detail on SO.

/r/androiddev Thread