Merge pull request #2558 from aqulu/fix/bottomsheet-viewbinding

Release VectorBaseBottomSheetDialogFragment bindings when view destroyed
This commit is contained in:
Benoit Marty 2020-12-20 20:44:37 +01:00 committed by GitHub
commit 4a5dbde8d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,6 +114,7 @@ abstract class VectorBaseBottomSheetDialogFragment<VB: ViewBinding> : BottomShee
@CallSuper
override fun onDestroyView() {
uiDisposables.clear()
_binding = null
super.onDestroyView()
}