private void toUpdateAvator() {
    this.startActivity(CommonApi.getStandradLoadingDialogIntent("头像上传中..."));
    UserServer.updateAvator(
        Settings.avator_path,
        new ResultCallback<String>() {
          @Override
          public void onSucceed(String data) {
            setViewsFromLocal();
            DialogLoading._instance.finish();
          }

          @Override
          public void onFailed(String error) {
            CommonApi.makeToast("上传失败,错误代码:" + error);
            DialogLoading._instance.finish();
          }
        });
  }
 private void logoutUser() {
   UserServer.logoutLocalUser();
   this.finish();
 }
  private void toUpdateName(String result) {
    this.startActivity(CommonApi.getStandradLoadingDialogIntent("修改中..."));

    UserServer.updateName(result, updateResultCallback);
  }
 private void toUpdateCollege(int college) {
   this.startActivity(CommonApi.getStandradLoadingDialogIntent("修改中..."));
   UserServer.updateCollege(college, updateResultCallback);
 }