SmoothBottomBar icon indicating copy to clipboard operation
SmoothBottomBar copied to clipboard

Navigation Component call onDestroy() every time change fragment

Open Elblassy opened this issue 3 years ago • 2 comments

when i use navigation component , the onDestroy() method called every time get back to fragment and recreate fragment !

Elblassy avatar Sep 04 '20 22:09 Elblassy

Did you find any solution for this problem?

prakashsrv avatar Dec 24 '20 11:12 prakashsrv

Unfortunately no, but the problem from navigation component not from library, but we can say it's not a probl because they say that save memory, i use viewpager 2 instead of navigation component if you find solution with navigation component tell me

Elblassy avatar Dec 24 '20 12:12 Elblassy