@Override
 protected void onPostExecute(String json) {
   super.onPostExecute(json);
   // loading.dismiss();
   UIUtils.getProgressDialog(getActivity(), "OFF");
   mSwipeContainer.setRefreshing(false);
   convertJson(json);
   extractJsonData();
 }
 @Override
 public void onResume() {
   super.onResume();
   if (track == 1) {
     refresh();
     track = 0;
   }
   UIUtils.getProgressDialog(getActivity(), "OFF");
 }
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   // loading = ProgressDialog.show(getActivity(), "Loading...", "Please Wait...", true, true);
   if (!mSwipeContainer.isRefreshing()) UIUtils.getProgressDialog(getActivity(), "ON");
 }