Example usage for Java com.facebook.react.bridge UiThreadUtil fields, constructors, methods, implement or subclass
The text is from its open source code.
void | assertOnUiThread() Throws an AssertionException if the current thread is not the UI thread. |
boolean | isOnUiThread() |
void | runOnUiThread(Runnable runnable) Runs the given Runnable on the UI thread. |