You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tasks/app/src/main/java/com/todoroo/astrid/api/FilterListItem.kt

16 lines
358 B
Kotlin

package com.todoroo.astrid.api
import androidx.annotation.LayoutRes
import org.tasks.R
interface FilterListItem {
val itemType: Type
fun areItemsTheSame(other: FilterListItem): Boolean
enum class Type(@param:LayoutRes val layout: Int) {
ITEM(R.layout.filter_adapter_row),
SUBHEADER(R.layout.filter_adapter_subheader),
}
}