onDestroy

open fun onDestroy()

Called when the fragment is no longer in use. This is called after onStop and before onDetach.