Definition at line 19 of file HandlerCompatTest.java.
◆ createAsync_createsAnAsyncHandler()
void io.flutter.util.HandlerCompatTest.createAsync_createsAnAsyncHandler |
( |
| ) |
|
|
inline |
Definition at line 22 of file HandlerCompatTest.java.
22 {
23 Handler handler = Handler.createAsync(Looper.getMainLooper());
24
25 Message
message = Message.obtain();
26 handler.sendMessageAtTime(
message, 0);
27
28 assertTrue(
message.isAsynchronous());
29 }
The documentation for this class was generated from the following file: