Utilities for handling asynchronous calls.
- Author
- markf.nosp@m.@goo.nosp@m.gle.c.nosp@m.om (Mark Friedman)
Definition at line 17 of file AsynchUtil.java.
◆ runAsynchronously() [1/2]
static void com.google.appinventor.components.runtime.util.AsynchUtil.runAsynchronously |
( |
final Handler |
androidUIHandler, |
|
|
final Runnable |
call, |
|
|
final Runnable |
callback |
|
) |
| |
|
static |
Make an asynchronous call in a separate thread, with a callback that's run on the current Android UI thread.
- Parameters
-
androidUIHandler | the Handler from the current Android context |
call | a Runnable to run in the thread. |
callback | a Runnable to run in the Android UI thread when the call above returns |
Definition at line 34 of file AsynchUtil.java.
◆ runAsynchronously() [2/2]
static void com.google.appinventor.components.runtime.util.AsynchUtil.runAsynchronously |
( |
final Runnable |
call | ) |
|
|
static |
Make an asynchronous call in a separate thread.
- Parameters
-
Definition at line 23 of file AsynchUtil.java.
The documentation for this class was generated from the following file:
- C:/Users/Ulli/appinventor-sources/appinventor/components/src/com/google/appinventor/components/runtime/util/AsynchUtil.java