Type mismatch. Required: Editable? Found: String code example
Example: type mismatch: requierd editable found string? in EditText Android
Use setText(String), since editText.text expects an Editable, not a String.
Use setText(String), since editText.text expects an Editable, not a String.