View bindings are not set to null in onDestroyView
atte-m opened this issue · comments
atte-m commented
Not nulling the bindings could lead to memory leaks as fragment lifecycle is different from fragment's views lifecycle. It is recommended by view binding docs https://developer.android.com/topic/libraries/view-binding#fragments
Jussi Heikkola commented
Thanks for pointing that out! We'll take a look at this for later releases
Kaaveh Mohamedi commented
I can fix this if you allow me.
Houssem Zaier commented
later means never @Kaaveh
Jussi Heikkola commented
The app has been shutdown, so closing the issue. Thanks for the suggestion!