@SuppressLint("InflateParams")
protected MaterialDialog(Builder builder) {
super(builder.context, DialogInit.getTheme(builder));
handler = new Handler();
this.builder = builder;
final LayoutInflater inflater = LayoutInflater.from(getContext());
view = (MDRootLayout) inflater.inflate(DialogInit.getInflateLayout(builder), null);
DialogInit.init(this);
// Don't keep a Context reference in the Builder after this point
builder.context = null;
}
MaterialDialog.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:material-dialogs
作者:
评论列表
文章目录