예제 #1
0
 @Override
 public void setRequestSuc(String url, int statusCode, Header[] headers, JsonObject jo) {
   super.setRequestSuc(url, statusCode, headers, jo);
   try {
   } catch (Exception e) {
     ToastUtil.printErr(e);
   }
 }
예제 #2
0
 @Override
 public void init(
     View rootView, LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
   super.init(rootView, inflater, container, savedInstanceState);
   init();
   setListener();
   updateView();
   loadData();
 }
예제 #3
0
 @Override
 public void setRequestNotSuc(String url, int statusCode, Header[] headers, JsonObject jo) {
   super.setRequestNotSuc(url, statusCode, headers, jo);
   ToastUtil.toastAlways(getActivity(), jo.getAsJsonPrimitive(HMApi.KEY_MSG).getAsString());
 }
예제 #4
0
 @Override
 public void setRequestFinish() {
   super.setRequestFinish();
 }
예제 #5
0
 @Override
 public void setRequestErr(
     String url, int statusCode, Header[] headers, String str, Throwable throwable) {
   super.setRequestErr(url, statusCode, headers, str, throwable);
   ToastUtil.toastAlways(getActivity(), str);
 }