Guest User

Untitled

a guest
Jun 13th, 2020
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.78 KB | None | 0 0
  1.  @OnClick(R.id.test)
  2.     void pasteTest() {
  3.         mEdit_jwt_token.setText("lkjlkjljl");
  4.     }
  5.  
  6.  
  7. ....
  8.  
  9. mEdit_jwt_token.addTextChangedListener(new TextWatcher() {
  10.  
  11.             public void afterTextChanged(Editable s) {
  12.                 observerEditTextJot(s.toString());
  13.             }
  14.  
  15.             public void beforeTextChanged(CharSequence s, int start, int count, int after) {
  16.  
  17.             }
  18.  
  19.             public void onTextChanged(CharSequence s, int start, int before, int count) {
  20.                 pasteTest();  <---  HERE
  21.  
  22.                 Log.i(TAG, "Proverka start:" + String.valueOf(start));
  23.                 Log.i(TAG, "Proverka before:" + String.valueOf(before));
  24.                 Log.i(TAG, "Proverka count:" + String.valueOf(count));
  25.             }
  26.         });
Advertisement
Add Comment
Please, Sign In to add comment