1 | import android.view.*; |
2 | import android.text.*; |
3 | |
4 | static EditText aEditText() {
|
5 | ret androidUI(func -> EditText {
|
6 | new EditText(androidActivity()) |
7 | }); |
8 | } |
9 | |
10 | static EditText aEditText(S text) {
|
11 | ret aSetText(aEditText(), text); |
12 | } |
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: | #1014898 |
| Snippet name: | aEditText - make Android EditText |
| Eternal ID of this version: | #1014898/2 |
| Text MD5: | a9fafaffff054a81fc282e952d56952d |
| 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:35:14 |
| Source code size: | 240 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 589 / 628 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |