private ArrayList NoSeRepite() { ArrayList list = new ArrayList(); rescorreo = false; resuser = false; if (Confirmar()) { Cifrar cifrar = new Cifrar(); String Password = cifrar.Encriptar(txtPassword.getText().toString().trim()); if (!Usuario.getPassword().equals(Password)) { list.add(1); Usuario.setPassword(txtPassword.getText().toString().trim()); } } if (!Usuario.getCorreo().equals(txtCorreo.getText().toString().trim())) { list.add(2); Usuario.setCorreo(txtCorreo.getText().toString().trim()); rescorreo = true; } return list; }
private void Parametros() { txtCorreo.setText(Usuario.getCorreo()); }