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

12
LINES

< > BotCompany Repo | #1014898 // aEditText - make Android EditText

JavaX fragment (include)

import android.view.*;
import android.text.*;

static EditText aEditText() {
  ret androidUI(func -> EditText {
    new EditText(androidActivity())
  });
}

static EditText aEditText(S text) {
  ret aSetText(aEditText(), text);
}

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: #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: 381 / 409
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1014904 - aSingleLineEditText