Libraryless. Click here for Pure Java version (1056L/7K/26K).
1 | !7 |
2 | |
3 | p {
|
4 | TextView tv = aTextView("Hello world");
|
5 | androidShow(tv); |
6 | View view = androidActivity().findViewById(android.R.id.content); |
7 | if (view == tv) aSetText(tv, "OK!"); |
8 | else aSetText(tv, "Huh? " + view); |
9 | } |
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: | 928 / 1093 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |