@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, "修改失败"); } } }
package com.bgood.xn.ui.user.account;