onDestroyView

open fun onDestroyView()

Called when the view previously created by onCreateView is being destroyed. Cleans up view-related resources and listeners.