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

11
LINES

< > BotCompany Repo | #1014859 // aOnChange - when user types in EditView

JavaX fragment (include)

1  
static void aOnChange(final TextView tv, fO r) {
2  
  androidUI(r {
3  
    tv.addTextChangedListener(new TextWatcher {
4  
     public void afterTextChanged(Editable s) { pcallF(r); }
5  
     public void beforeTextChanged(CharSequence s, int start,
6  
       int count, int after) {}
7  
     public void onTextChanged(CharSequence s, int start,
8  
       int before, int count) {}
9  
    });
10  
  });
11  
}

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: #1014859
Snippet name: aOnChange - when user types in EditView
Eternal ID of this version: #1014859/5
Text MD5: 7b3fff2f9664c88131ed5d70399e279b
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 14:10:04
Source code size: 384 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 368 / 400
Version history: 4 change(s)
Referenced in: [show references]