You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have single activity layout architecture in my project. So, I use fragments for everything.
The problem with fragments is that their views get destroyed when onViewDestroyed is called. Let's say I go to next screen, then the previous Fragment's views will get destroyed. Therefore we need to clear the reference to the view we may be holding to prevents leaks.
The text was updated successfully, but these errors were encountered:
I have single activity layout architecture in my project. So, I use fragments for everything.
The problem with fragments is that their views get destroyed when onViewDestroyed is called. Let's say I go to next screen, then the previous Fragment's views will get destroyed. Therefore we need to clear the reference to the view we may be holding to prevents leaks.
The text was updated successfully, but these errors were encountered: