Fixes crash with binding

split
Laurent 5 years ago
parent ea624da182
commit 2f029d5818
  1. 3
      app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/editor/EditorFragment.kt

@ -232,6 +232,9 @@ class EditorFragment : RealmFragment(), RowRepresentableDelegate, KeyboardListen
override fun onDestroyView() {
super.onDestroyView()
this.model.selectionLiveData.removeObservers(this)
_binding = null
}

Loading…
Cancel
Save