update

abstract fun update(record: R, executor: Executor, callback: CompletionCallback<Unit>): AsyncOperationTask

Updates record in this data provider.

Return

an object representing pending completion of the task.

Parameters

record

Record to update.

executor

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

callback

Callback to handle result.

open fun update(record: R, callback: CompletionCallback<Unit>): AsyncOperationTask

Updates record in this data provider.

Return

an object representing pending completion of the task.

Parameters

record

Record to update.

callback

Callback to handle result, triggered on the main thread.