예제 #1
0
 @Override
 public void onSuccess(RspBodyCommonBean rsp) {
   cancleLoadingDialog(context, loadingDialog);
   if (rsp.getResultCode().equals(UrlManager.RSP_OK)) {
     repositoryUser.login(userPhone, userPwd, loginCallback);
   } else {
     showNoticeDialog(context, noticeDialog, rsp.getResDes());
   }
 }
예제 #2
0
 @Override
 public void onSuccess(RspBodyCommonBean rsp) {
   cancleLoadingDialog(context, loadingDialog);
   if (rsp.getResultCode().equals(UrlManager.RSP_OK)) {
     ToastUtils.showShort(context, rsp.getResDes());
   } else {
     smsUtils.cancelTime();
     showNoticeDialog(context, noticeDialog, rsp.getResDes());
   }
 }