DmfsTaskListProvider

class DmfsTaskListProvider(val account: Account, client: ContentProviderClient, val providerName: TaskProvider.ProviderName)

Manages locally stored tasklists (represented by DmfsTaskList) in DmfsTask tasks provider.

Parameters

account

Account that all operations are bound to

client

content provider client

Constructors

Link copied to clipboard
constructor(account: Account, client: ContentProviderClient, providerName: TaskProvider.ProviderName)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Creates a new task list and directly returns it.

Link copied to clipboard
Link copied to clipboard
fun delete(id: Long): Boolean

Deletes this task list from the local task list provider.

Link copied to clipboard
fun findFirstTaskList(where: String?, whereArgs: Array<String>?, sortOrder: String? = null): DmfsTaskList?

Queries existing task lists and returns the first task list that matches the search criteria.

Link copied to clipboard
fun findTaskLists(where: String? = null, whereArgs: Array<String>? = null, sortOrder: String? = null): List<DmfsTaskList>

Queries existing task lists.

Link copied to clipboard

Gets an existing task list by its ID.

Link copied to clipboard
Link copied to clipboard
fun taskListUri(id: Long): Uri
Link copied to clipboard
Link copied to clipboard