Yes, was answering your two questions: 1. Fragment...
# android
d
Yes, was answering your two questions: 1. Fragment’s view is destroyed when the fragment is put on the backstack, but the Fragment instance itself is not destroyed. So keeping a reference to the view after onDestroyView would be a memory leak. 2. Turning the binding into a local reference rather than a member variable does ensure you don’t leak it.
❤️ 4