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/adapter/TaskAdapterDataSource.kt

17 lines
358 B
Kotlin

package com.todoroo.astrid.adapter
import org.tasks.data.TaskContainer
interface TaskAdapterDataSource {
fun getItem(position: Int): TaskContainer?
fun getTaskCount(): Int
fun isHeader(position: Int): Boolean = false
fun nearestHeader(position: Int): Long = -1
val sortMode: Int get() = -1
val subtaskSortMode: Int get() = -1
}