Added division of the modules section to updatable, installed and not installed

This commit is contained in:
Viktor De Pasquale
2019-04-22 18:20:23 +02:00
parent 761a8bf2a9
commit 2de984ae24
4 changed files with 68 additions and 2 deletions
@@ -0,0 +1,11 @@
package com.topjohnwu.magisk.model.entity.recycler
import com.skoumal.teanity.databinding.ComparableRvItem
import com.topjohnwu.magisk.R
class SectionRvItem(val text: String) : ComparableRvItem<SectionRvItem>() {
override val layoutRes: Int = R.layout.item_section
override fun contentSameAs(other: SectionRvItem) = itemSameAs(other)
override fun itemSameAs(other: SectionRvItem) = text == other.text
}