What the difference between Dialog and Dialog Fragment?

Code examples

0
0

Dialog: A dialog is a small window that prompts the user to
make a decision or enter additional information.

DialogFragment: A DialogFragment is a special fragment
subclass that is designed for creating and hosting dialogs.
It allows the FragmentManager to manage the state of the
dialog and automatically restore the dialog when a
configuration change occurs.

Similar pages

Similar pages with examples

In other languages

This page is in other languages

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................