void runOnUiThreadAndWait(Runnable action)
Submits a Runnable task for execution on the UI thread and waits for the task to finish before returning.
Parameters
Name | Description |
action | The task to submit. |
Return
Nothing returned
Submits a Runnable task for execution on the UI thread and waits for the task to finish before returning.
Name | Description |
action | The task to submit. |
Nothing returned