Release VectorBaseBottomSheetDialogFragment bindings when view destroyed
Signed-off-by: aqulu <dev@aqu.lu>
This commit is contained in:
parent
2b780a8b76
commit
0059fdf174
|
@ -114,6 +114,7 @@ abstract class VectorBaseBottomSheetDialogFragment<VB: ViewBinding> : BottomShee
|
||||||
@CallSuper
|
@CallSuper
|
||||||
override fun onDestroyView() {
|
override fun onDestroyView() {
|
||||||
uiDisposables.clear()
|
uiDisposables.clear()
|
||||||
|
_binding = null
|
||||||
super.onDestroyView()
|
super.onDestroyView()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue