hey, i was wondering if in the second fragment, its done wrongly. cuz 'this' has been set as the parent of the dialog and as every parent deletes its childs when deleting themselves, when it will try to delete the dialog , the app should crash cuz the dialog is actually created on stack..




Reply With Quote

but essence of my question is how does a parent know which child to delete and in what cases would a child detach itself from parent?

Bookmarks