运行中提示框

LongTimeDialog dialog = UITools.getDialog(this);
                dialog.setTitle("正在加载数据...");
                dialog.setLongTimeTask(new ILongTimeTask() {
                        public Object exec() throws Exception {
                                //需要执行的代码

                                return "SUCCESS";
                        }

                        public void afterExec(Object res) throws Exception {
                        }
                });
                dialog.show();

猜你喜欢

转载自sanyecao2314.iteye.com/blog/1894653