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

18
LINES

< > BotCompany Repo | #1008231 // aTextView - make Android TextView

JavaX fragment (include)

1  
import android.app.*;
2  
import android.widget.*;
3  
import android.view.*;
4  
import android.view.KeyEvent;
5  
import android.view.inputmethod.*;
6  
import android.text.*;
7  
8  
static TextView aTextView(S text) {
9  
  TextView tv = aTextView();
10  
  tv.setText(text);
11  
  ret tv;
12  
}
13  
14  
static TextView aTextView() {
15  
  ret androidUI(func -> TextView {
16  
    new TextView(androidActivity())
17  
  });
18  
}

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: #1008231
Snippet name: aTextView - make Android TextView
Eternal ID of this version: #1008231/3
Text MD5: 25b3718fe3ad4e7fe11048505791d267
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 23:05:17
Source code size: 382 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 506 / 497
Version history: 2 change(s)
Referenced in: [show references]