dismisses any potential loading dialogs when the linked fragment is destroyed
- fixes leaking the activity window when the fragment is destroyed
This commit is contained in:
parent
4949a06343
commit
4c238e81cf
|
@ -151,6 +151,7 @@ abstract class VectorBaseFragment<VB : ViewBinding> : Fragment(), MavericksView
|
|||
override fun onDestroyView() {
|
||||
Timber.i("onDestroyView Fragment ${javaClass.simpleName}")
|
||||
_binding = null
|
||||
dismissLoadingDialog()
|
||||
super.onDestroyView()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue