@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(); } }); }
@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(); } }); }
@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(); } }); }