public void save(View view)
{
if (!editText.getText().toString().matches(""))
{
int userAge = Integer.parseInt(editText.getText().toString());
textView.setText(""+userAge);
}
}
this code work with VM but if i change part of
textView.setText(""+userAge);
this to this
textView.setText(userAge);
onclick method shutdown app on VM both code work same goal, but i don't understand why second row doesn't work