Is there a way to reset the edittext value without setting text like:
((EditText) findViewById(R.id.yoursXmlId)).setText(\"\");
EDI
you can use following way
Kotlin:
myEditText.text.clear()
Java:
EditText myEditText = ((EditText) findViewById(R.id.yoursXmlId)); myEditText.getText().clear()