Read the data inside the click listner
bSubmit.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String name = etName.getText().toString();
set.setText(name);
}
});
4
solved I’m unable to print the text in TextView that i’m getting from the EditText under the TextInputLayout