/** * *********************************************** @Title: showDialog @Description: TODO(遮罩层展示) * * @param msg 提示信息 * @return void 返回类型 * @throws * @date 2015-1-14 *********************************************** */ public void showDialog(String msg) { if (dialog == null) { dialog = DialogUtil.createLoadingDialog(getActivity(), msg); } if (!dialog.isShowing()) { dialog.show(); } }
// 模式化窗口。用作遮罩层 public void showDialog() { if (dialog == null) { dialog = DialogUtil.createLoadingDialog(getActivity(), "请稍候..."); } if (!dialog.isShowing()) { dialog.show(); } }