String text = "Example"; EditText edtText = (EditText) findViewById(R.id.edtText); edtText.setText(text);
Check EditText to accept only String values, if necessary, convert them to string.
If int, double, long value, do:
String.value(value);
Samrat Das Choudhury Nov 13 '14 at 7:28 2014-11-13 07:28
source share