Files
Magisk/app/src/main/java/com/topjohnwu/magisk/view/TextItem.kt
2021-09-01 01:17:27 -07:00

11 lines
294 B
Kotlin

package com.topjohnwu.magisk.view
import com.topjohnwu.magisk.R
import com.topjohnwu.magisk.databinding.DiffRvItem
class TextItem(val text: Int) : DiffRvItem<TextItem>() {
override val layoutRes = R.layout.item_text
override fun contentSameAs(other: TextItem) = text == other.text
}