I have an app that uses fragments and when one fragment opens it changes the app title to a certain string, everything works fine but when I press the back button and go back to the main fragment the title doesn't change.
How can i find out (from the main fragment) if the app is coming back from a fragment?