示例#1
0
  @Override
  public void onCitySelection(String city) {
    UpdateSingerInfoRequest request =
        new UpdateSingerInfoRequest(getActivity(), new UpdateSingerInfoRequest.Params(sid, city));
    LoadingPopup.show(getActivity());
    request.request(
        new SimpleRequestHandler() {
          @Override
          public void onComplete() {
            LoadingPopup.hide(getActivity());
          }

          @Override
          public void onSuccess(Object object) {
            onResume();
          }
        });
  }
示例#2
0
  @Override
  public void onsuccess(final UploadResult result) {
    UpdateSingerInfoRequest request =
        new UpdateSingerInfoRequest(
            getActivity(),
            new UpdateSingerInfoRequest.Params(sid, result.getGuid(), result.getExt()));
    LoadingPopup.show(getActivity());
    request.request(
        new SimpleRequestHandler() {
          @Override
          public void onComplete() {
            LoadingPopup.hide(getActivity());
          }

          @Override
          public void onSuccess(Object object) {
            onResume();
          }
        });
  }
示例#3
0
  @Override
  public void onNicknameFill(String nickname) {

    UpdateSingerInfoRequest request =
        new UpdateSingerInfoRequest(
            getActivity(),
            new UpdateSingerInfoRequest.Params(
                new UpdateSingerInfoRequest.Singername(sid, nickname)));
    LoadingPopup.show(getActivity());
    request.request(
        new SimpleRequestHandler() {
          @Override
          public void onComplete() {
            LoadingPopup.hide(getActivity());
          }

          @Override
          public void onSuccess(Object object) {
            onResume();
          }
        });
  }