public class PrivilegedRunnableProvider extends Object implements ESRunnableWrapper
ESRunnableWrapper for creating
privileged runnables to be executed on the UI
thread.| Constructor and Description |
|---|
PrivilegedRunnableProvider() |
| Modifier and Type | Method and Description |
|---|---|
Runnable |
createRunnable(Runnable runnable)
The method is used to create a
Runnable which will be executed on the UI thread. |
public Runnable createRunnable(Runnable runnable)
Runnable which will be executed on the UI thread. The returned
Runnable is expected to wrap the given runnable.createRunnable in interface ESRunnableWrapperrunnable - the Runnable which will be executed by the runnableRunnable which can be executed on the UI Thread in a safe fashion.ESRunnableWrapper.createRunnable(java.lang.Runnable)Copyright © 2017. All rights reserved.