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