Answers for "how toget text from edittext and setto textbox in android using java"

3

get text from edittext android

EditText myEditText =  (EditText) findViewById(R.id.vnosEmaila);

String text = myEditText.getText().toString();
Posted by: Guest on January-28-2021
0

set text in edittext android

EditText editText = (EditText)findViewById(R.id.edit_text);
editText.setText("This sets the text.", TextView.BufferType.EDITABLE);
Posted by: Guest on March-25-2021

Code answers related to "how toget text from edittext and setto textbox in android using java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language