FaBaseActivity.java 文件源码

java
阅读 21 收藏 0 点赞 0 评论 0

项目:fast-dev-library 作者:
public void showProgressDialog(@Nullable String content) {
    if (this.mProgressDialog == null) {
        this.mProgressDialog = new MaterialDialog.Builder(this)
                .theme(Theme.LIGHT)
                .content(content == null ? "请稍后..." : content)
                .progress(true, 0)
                .cancelable(false)
                .show();
    } else {
        this.mProgressDialog.setContent(content == null ? "请稍后..." : content);
    }

    if (!this.mProgressDialog.isShowing()) {
        this.mProgressDialog.show();
    }

}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号