setMainThreadExecutor
If provided, defines the main thread executor used to dispatch adapter update notifications on the main thread.
If not provided or null, it will default to the main thread.
Return
this
Parameters
executor
The executor which can run tasks in the UI thread.