android dialog调用dismiss时将dialog清空
时间: 2023-12-21 19:01:45 浏览: 117
androidDialog对话框.zip
在Android中,当调用dismiss()方法时,AlertDialog会被关闭并清空。在给出的引用中,没有明确的指示dismiss()方法的调用,但是可以假设在点击对话框的某个按钮后,调用了dismiss()方法来关闭对话框。因此,当调用dismiss()方法时,对话框会被清空并不再显示。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Android 对话框 dialog](https://blog.csdn.net/XJCXJCxic/article/details/117445531)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Dialog引发的内存泄漏](https://blog.csdn.net/weixin_39957318/article/details/117633834)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文