Search code examples
androidandroid-fragmentsonresume

Alternative for the onResume() during Fragment switching


onResume() method won't get called when we switch between fragments more than one time. So, is there any better way to handle resume operation?


Solution

  • I think, I have found the answer. Here is the link which will force onResume() of the fragment to be called every time the fragment becomes visible.
    Fragments onResume from back stack