博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ProgressDialog进度条对话框
阅读量:7163 次
发布时间:2019-06-29

本文共 601 字,大约阅读时间需要 2 分钟。

final ProgressDialog ps = ProgressDialog.show(MainActivity.this, "搜索网络", "请等待...");                new Thread(){                    @Override                    public void run() {                        try {                            sleep(11000);                        } catch (Exception e) {                            // TODO: handle exception                        }                        finally{                            ps.dismiss();                        }                    }                }.start();                ps.show();

 

转载于:https://www.cnblogs.com/84126858jmz/p/4885945.html

你可能感兴趣的文章