FANGLH 8 years ago
parent
commit
1a219832ba

+ 2 - 0
app_modular/appme/src/main/java/com/uas/appme/pedometer/view/PersonalPageActivity.java

@@ -91,6 +91,7 @@ public class PersonalPageActivity extends BaseActivity implements View.OnClickLi
             return;
         }
         if (StringUtil.isEmpty(userid)) return;
+        progressDialog.show();
         HttpClient httpClient = new HttpClient.Builder(Constant.BASE_STEP_URL).isDebug(true).build(true);
         httpClient.Api().send(new HttpClient.Builder()
                 .url("appSteps")
@@ -107,6 +108,7 @@ public class PersonalPageActivity extends BaseActivity implements View.OnClickLi
     }
 
     private void showStepsInfo() {
+        progressDialog.dismiss();
         if (mPersonalStepBean == null || ListUtils.isEmpty(mPersonalStepBean.getWeekSteps()))  return;
         int weekSteps_size = mPersonalStepBean.getWeekSteps().size();
         int monthSteps_size = mPersonalStepBean.getMonthSteps().size();