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/org/tasks/filters/NavigationDrawerAction.kt

16 lines
389 B
Kotlin

package org.tasks.filters
import android.content.Intent
import com.todoroo.astrid.api.FilterListItem
data class NavigationDrawerAction(
val title: String,
val icon: Int,
val requestCode: Int,
val intent: Intent? = null,
) : FilterListItem {
override val itemType = FilterListItem.Type.ACTION
override fun areItemsTheSame(other: FilterListItem) = this == other
}