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

5
LINES

< > BotCompany Repo | #1014861 // aGetText - get text of TextView (Android), can be called in any thread

JavaX fragment (include)

static S aGetText(final TextView tv) {
  ret tv == null ? null : androidEvalInUIThread(func -> S {
    str(tv.getText())
  });
}

Author comment

Began life as a copy of #1008232

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: #1014861
Snippet name: aGetText - get text of TextView (Android), can be called in any thread
Eternal ID of this version: #1014861/4
Text MD5: f04d6e137e216b818a6662fc49c04129
Author: stefan
Category: javax / android
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-05 16:08:51
Source code size: 132 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 341 / 377
Version history: 3 change(s)
Referenced in: [show references]