I've started using View Binding in my fragments and activities. The recommended pattern for Fragments is to null the binding field in onDestroyView(). I'm also using view binding in my custom views. Do I need to handle clearing that view binding field as well? I would assume so, but there is no onDestroyed() function for views. There is a View.onDetachedFromWindow() function but I'm not sure that would be an appropriate place to null the binding field.
Is this a valid concern and if so how can I accomplish it?