Move mms and security checks into ViewModel/Repository.

This commit is contained in:
Alex Hart
2022-07-19 14:53:54 -03:00
committed by Cody Henthorne
parent c5f4a9c89e
commit b696a0f758
6 changed files with 174 additions and 118 deletions

View File

@@ -26,6 +26,10 @@ class LifecycleDisposable : DefaultLifecycleObserver {
return this
}
fun clear() {
disposables.clear()
}
override fun onDestroy(owner: LifecycleOwner) {
owner.lifecycle.removeObserver(this)
disposables.clear()