Libraryless. Click here for Pure Java version (1056L/7K/26K).
!7 p { TextView tv = aTextView("Hello world"); androidShow(tv); View view = androidActivity().findViewById(android.R.id.content); if (view == tv) aSetText(tv, "OK!"); else aSetText(tv, "Huh? " + view); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, nbgitpuheiab, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
ID | Author/Program | Comment | Date |
---|---|---|---|
1373 | stefan | Returns an instance of ContentFrameLayout instead | 2018-05-05 15:51:37 |
Snippet ID: | #1014857 |
Snippet name: | Try getting current content view [Android] |
Eternal ID of this version: | #1014857/5 |
Text MD5: | 313584867630c94f286b29c85a5ea90c |
Transpilation MD5: | 4895dc1b29fafbbe640db5e7c3108bd3 |
Author: | stefan |
Category: | javax / android |
Type: | JavaX source code (Android) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-05 15:50:41 |
Source code size: | 222 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 640 / 756 |
Version history: | 4 change(s) |
Referenced in: | [show references] |