Beispiel #1
0
 @Override
 public void onTaskOver(HttpRequestInfo request, HttpResponseInfo info) {
   if (info.getState() == HttpTaskState.STATE_OK) {
     BaseNetWork bNetWork = info.getmBaseNetWork();
     if (bNetWork.getReturnCode() == ReturnCode.RETURNCODE_OK) {
       BToast.show(mActivity, "修改成功");
       final UserInfoBean ufb = BGApp.mUserBean;
       ufb.age = mAge;
       BGApp.mUserBean = ufb;
       finish();
     } else {
       BToast.show(mActivity, "修改失败");
     }
   }
 }
Beispiel #2
0
package com.bgood.xn.ui.user.account;