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