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

4
LINES

< > BotCompany Repo | #1008232 // aSetText - set text on TextView (Android), can be called in any thread

JavaX fragment (include)

static <A extends TextView> A aSetText(final A tv, fS text) {
  if (tv != null) androidUI(r { tv.setText(unnull(text)) });
  ret tv;
}

Author comment

Began life as a copy of #1008231

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008232
Snippet name: aSetText - set text on TextView (Android), can be called in any thread
Eternal ID of this version: #1008232/3
Text MD5: ae538398172419522c8dc2418d006f1c
Author: stefan
Category: javax / android
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-06 10:37:35
Source code size: 137 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 499 / 555
Version history: 2 change(s)
Referenced in: [show references]