MultiNavHost icon indicating copy to clipboard operation
MultiNavHost copied to clipboard

Fragments into inactive tabs don't receive onPause/onResume events.

Open marcouberti opened this issue 6 years ago • 2 comments

When switching tabs, the current fragments of previously selected tabs don't receive the onPause()/onResume() events. This can be problematic in scenarios when you have to release resources, like stopping a video player. I checked this Google's sample and the events are triggered as expected.

Google Navigation Advanced Sample

marcouberti avatar Dec 05 '19 06:12 marcouberti

Yes facing the same issue. Visible Fragment's onResume() not getting called. Any way to achieve this?

amit7127 avatar Apr 26 '21 16:04 amit7127

Same issue for me but the google navigation advanced sample has its own issue

Faiyyazauxy avatar Oct 01 '21 10:10 Faiyyazauxy