I have read different post where it is mentioned that onCleared() of ViewModel is called in between onDestroyView and onDetach
onCleared()
ViewModel
onDestroyView
onDetach