android - Why DialogFragment is not being destroyed while Dialog is? -


as title says, why android keeps dialogfragment open when configchange happens while type of dialog being destroyed there configchange? because android doesn't want keep reference context passed dialog? if so, how keep surviving dialogfragment while configchange happened?

edit : know dialogfragment being recreated, why don't same dialogs well?

dialogfragment destroyed too, re-created. data provided setarguments(bundle) preserved , can used restore initial state of fragment.


Comments