Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GcsSloop/SUtil
/ run
Method
run
library/src/main/java/com/sloop/utils/ToastUtils.java:30–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
28
}
else
{
//如果不是,就用该方法使其在ui线程中运行
29
context.runOnUiThread(
new
Runnable() {
30
@Override
31
public
void
run() {
32
Toast.makeText(context, string, Toast.LENGTH_SHORT).show();
33
}
34
});
35
}
36
}
Callers
nothing calls this directly
Calls
1
show
Method · 0.80
Tested by
no test coverage detected