Dmfs Task List
open class DmfsTaskList<out T : DmfsTask>(val account: Account, val provider: ContentProviderClient, val providerName: TaskProvider.ProviderName, val taskFactory: DmfsTaskFactory<T>, val id: Long)
Represents a locally stored task list, containing DmfsTasks (tasks). Communicates with tasks.org-compatible content providers (currently tasks.org and OpenTasks) to store the tasks.
Constructors
Link copied to clipboard
constructor(account: Account, provider: ContentProviderClient, providerName: TaskProvider.ProviderName, taskFactory: DmfsTaskFactory<T>, id: Long)
Properties
Functions
Link copied to clipboard
Queries tasks from this task list. Adds a WHERE clause that restricts the query to Tasks.LIST_ID = id.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
When tasks are added or updated, they may refer to related tasks by UID (Relation.RELATED_UID). However, those related tasks may not be available (for instance, because they have not been synchronized yet), so that the tasks provider can't establish the actual relation (= set Relation.TASK_ID) in the database.
Link copied to clipboard
Link copied to clipboard