Builder设计模式构建万能Dialog

首先看下AlertDialog解析图 首先要会用AlertDialog的使用 new AlertDialog.Builder(this) .setIcon(R.mipmap.ic_launcher) .setTitle("消息") .setPositiveButton("确定", new DialogInterface.OnClickListener() {
相关文章
相关标签/搜索