Builder設計模式構建萬能Dialog

首先看下AlertDialog解析圖 首先要會用AlertDialog的使用 new AlertDialog.Builder(this) .setIcon(R.mipmap.ic_launcher) .setTitle("消息") .setPositiveButton("確定", new DialogInterface.OnClickListener() {
相關文章
相關標籤/搜索