MCPcopy Create free account
hub / github.com/cinit/TMoe / postDelayed

Method postDelayed

app/src/main/java/cc/ioctl/tmoe/util/SyncUtils.java:26–32  ·  view source on GitHub ↗
(@NonNull Runnable r, long ms)

Source from the content-addressed store, hash-verified

24 }
25
26 @SuppressLint("LambdaLast")
27 public static void postDelayed(@NonNull Runnable r, long ms) {
28 if (sHandler == null) {
29 sHandler = new Handler(Looper.getMainLooper());
30 }
31 sHandler.postDelayed(r, ms);
32 }
33
34 public static void postDelayed(long ms, @NonNull Runnable r) {
35 postDelayed(r, ms);

Callers 3

postMethod · 0.95
runMethod · 0.80
runOnUIThreadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected