difference between Dialog and DialogFragment in android?
Asked Answered
N

0

6

Upon reviewing the docs in android I've noticed the classes: Dialog and DialogFragment(standard, v4). The Tutorials seem to use the terms interchangeably, thus i'm confused as hell about their differences.

Tell me if i'm right with my understanding: a DialogFragment, is in essence, a wrapper that handle life-cycle events, while returning an Object of Type Dialog, which is the actual UI Object?

Nudicaul answered 4/11, 2015 at 3:37 Comment(5)
Dialog and DialogFragment aren't part of the support v7Olympias
Possible duplicate of Android DialogFragment vs DialogOlympias
in v7 there are AppCompatDialog, and AppCompatDialogFragment @OlympiasNudicaul
@Olympias i've read that thread. it didn't explain what i was looking for, otherwise i wouldn't have made this postNudicaul
according to the docs the AppCompatDialog and AppCompatDialogFragment use AppCompat themes. not sure if there is any other differenceOlympias

© 2022 - 2024 — McMap. All rights reserved.