Android系统。呼吁解雇的对话 [英] Android. Calling dismiss on a dialog
本文介绍了Android系统。呼吁解雇的对话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当你调用辞退()
上一个对话框,除了隐藏它,它也从内存中删除呢?是否删除所有被放置在对话框里面,像 ImageViews
,按钮
等,从内存中的对象?
When you call dismiss()
on a dialog, besides hiding it, does it also remove it from memory? Does it remove all the Objects that were placed inside the dialog, like ImageViews
, Buttons
, etc, from memory?
有没有一种方法,我可以释放这些对象自己的记忆,而不是等待垃圾回收器做的工作?
Is there a way i could free up the memory of these objects myself, and not wait for the Garbage Collector to do it's job?
推荐答案
没有,我相信辞退()
只是隐藏它。
No, i believe that dismiss()
just hides it.
removeDialog(INT)
将清除状态。
这篇关于Android系统。呼吁解雇的对话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文