Exemplo n.º 1
0
 public void parseRegError(String error) {
   showRegProgressbar(false);
   if (error != null) {
     Toast.makeText(getContext(), error, Toast.LENGTH_SHORT).show();
     presenter.getCodeImage(formInfo.getOnce());
   } else {
     Toast.makeText(getContext(), "注册成功", Toast.LENGTH_SHORT).show();
     LoginDialog loginDialog = new LoginDialog(getContext());
     dismiss();
     loginDialog.show();
   }
 }
Exemplo n.º 2
0
 public void parseRegCode(RegFormModel formInfo) {
   this.formInfo = formInfo;
   presenter.getCodeImage(formInfo.getOnce());
 }