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