Added loaders to superuser and hide

This commit is contained in:
Viktor De Pasquale
2019-10-31 20:53:37 +01:00
parent 6aa22267f4
commit 5e089451af
3 changed files with 78 additions and 25 deletions

View File

@@ -47,6 +47,7 @@ class HideViewModel(
.toList()
.map { it.sort() }
.map { it to items.calculateDiff(it) }
.applyViewModel(this)
.subscribeK {
items.update(it.first, it.second)
query()