1

Why isn't getText() returning the value I just provided to setText?

mEditText.setText("150");
String text = mEditText.getText().toString(); //result: "6"!
Noumenon
  • 3,977
  • 4
  • 46
  • 61

1 Answers1

0

Answer: There was an InputFilter (example here) that was intercepting input to the EditText.

Community
  • 1
  • 1
Noumenon
  • 3,977
  • 4
  • 46
  • 61