2020-08-19 11:05:23 +02:00
|
|
|
package com.topjohnwu.magisk.ui.superuser
|
2019-04-26 21:23:25 +02:00
|
|
|
|
|
|
|
import com.topjohnwu.magisk.R
|
2019-09-28 07:56:16 +02:00
|
|
|
import com.topjohnwu.magisk.databinding.ComparableRvItem
|
2019-04-26 21:23:25 +02:00
|
|
|
|
|
|
|
class SpinnerRvItem(val item: String) : ComparableRvItem<SpinnerRvItem>() {
|
|
|
|
|
|
|
|
override val layoutRes: Int = R.layout.item_spinner
|
|
|
|
|
|
|
|
override fun contentSameAs(other: SpinnerRvItem) = itemSameAs(other)
|
|
|
|
override fun itemSameAs(other: SpinnerRvItem) = item == other.item
|
|
|
|
|
2020-08-19 11:05:23 +02:00
|
|
|
}
|