clear
abstract fun clear(executor: Executor, callback: CompletionCallback<Unit>): AsyncOperationTask
Content copied to clipboard
Removes all the records in this data 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.
Removes all the records in this data provider.
Return
an object representing pending completion of the task.
Parameters
callback
Callback to handle result, triggered on the main thread.