1 | import android.widget.Toast; |
2 | import android.os.Handler; |
3 | import android.os.Looper; |
4 | |
5 | static void androidToast(fS text) {
|
6 | new Handler(Looper.getMainLooper()).post(r {
|
7 | Toast.makeText(androidContext(), text, Toast.LENGTH_SHORT).show(); |
8 | }); |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1004185 |
| Snippet name: | androidToast |
| Eternal ID of this version: | #1004185/1 |
| Text MD5: | 02c144b3687e033aef171bef03a9765b |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-08-09 16:17:01 |
| Source code size: | 253 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 903 / 937 |
| Referenced in: | [show references] |