dialog.build
时间: 2023-08-19 16:12:21 浏览: 153
dialog.build()是一个错误的方法调用。根据提供的引用内容,我们可以看到在创建对话框时使用的是SimpleDialogBuilder类的build()方法\[1\]和AlertDialog.Builder类的create()方法\[2\]。这两个方法都是用于创建对话框实例的。因此,正确的方法调用应该是builder.build()或者builder.create()。
#### 引用[.reference_title]
- *1* [实现自己的DialogBuilder封装:大小、显示位置和动画](https://blog.csdn.net/qq_18669217/article/details/73162820)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [android之dialog](https://blog.csdn.net/liwei405499/article/details/42869989)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文