I am using Fragment in my android app development.
I would like to clear the back stack of FragmentTransaction
when user shutdown the phone during using my app.
How can I handle phone shutdown event in my app code?
I am using Fragment in my android app development.
I would like to clear the back stack of FragmentTransaction
when user shutdown the phone during using my app.
How can I handle phone shutdown event in my app code?