MaterialDialog.java 文件源码

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

项目:material-dialogs 作者:
@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;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号