Example #1
0
 private void startProgressDialog() {
   if (mProgress == null) {
     mProgress = LoadingProgressDialog.createDialog(SearchRestau_rank.this);
     mProgress.setMessage("努力加载中...");
   }
   mProgress.show();
 }
Example #2
0
 private void stopProgressDialog() {
   if (mProgress != null) {
     mProgress.dismiss();
     mProgress = null;
   }
 }