getAll

abstract fun getAll(executor: Executor, callback: CompletionCallback<List<R>>): AsyncOperationTask

Retrieves all records from this provider.

Return

an object representing pending completion of the task.

Parameters

executor

Executor used for events dispatching. By default events are dispatched on the main thread.

callback

Callback to handle result.


open fun getAll(callback: CompletionCallback<List<R>>): AsyncOperationTask

Retrieves all records from this provider.

Return

an object representing pending completion of the task.

Parameters

callback

Callback to handle result, triggered on the main thread.