Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1004185 // androidToast

JavaX fragment (include)

import android.widget.Toast;
import android.os.Handler;
import android.os.Looper;

static void androidToast(fS text) {
  new Handler(Looper.getMainLooper()).post(r {
   Toast.makeText(androidContext(), text, Toast.LENGTH_SHORT).show();
  });
}

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: 701 / 717
Referenced in: [show references]