Here are simple steps.
step1 : fragment1 was showing and it's already added to Backstack
step2 : fragment2 is added to Backstack and showing it now
step3 : fragment2 is removed from Backstack
So finally, fragment1
is showing again to user.
In this situation, is there anyway to detect if fragment1 is showing again inner fragment1
?
I tried with OnResume()
but it doesn't work.
Thanks for answers!