Skip to content Skip to sidebar Skip to footer

Unable To Retrieve String From EditText

Im trying to figure out why I am unable to get a valid string from two edittexts The following lines are what I am talking about String newPin = etNewPassword.getText().toString();

Solution 1:

You have similar ids of views:

etOldPassword = (EditText) view.findViewById(R.id.etOldPassword);
etNewPassword = (EditText) view.findViewById(R.id.etOldPassword);
etConfirmPassword = (EditText) view.findViewById(R.id.etOldPassword);

Post a Comment for "Unable To Retrieve String From EditText"