public interface MainThreadOptional
runsOnUiThread() method allows users of
the library to specify explicitly whether a given callback/listener should be executed on
the main thread.| Modifier and Type | Method and Description |
|---|---|
boolean |
runsOnUiThread()
Specifies whether this callback or listener's methods should be executed on the
application's main thread (also called the UI thread), or if it should be allowed to
execute on a background thread.
|
boolean runsOnUiThread()