Added progressbars to repo items

This commit is contained in:
Viktor De Pasquale
2019-11-11 18:00:36 +01:00
parent d6d82edff5
commit 027a5695f2
3 changed files with 43 additions and 0 deletions
@@ -102,6 +102,8 @@ class RepoItem(val item: Repo) : ComparableRvItem<RepoItem>() {
override val layoutRes: Int = R.layout.item_repo_md2
val progress = KObservableField(0)
override fun contentSameAs(other: RepoItem): Boolean = item == other.item
override fun itemSameAs(other: RepoItem): Boolean = item.id == other.item.id
}