5

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?

SMR
  • 6,320
  • 2
  • 32
  • 55
3alto
  • 179
  • 1
  • 9
  • `Dialog` and `DialogFragment` aren't part of the support v7 – SMR Nov 04 '15 at 03:45
  • 3
    Possible duplicate of [Android DialogFragment vs Dialog](http://stackoverflow.com/questions/7977392/android-dialogfragment-vs-dialog) – SMR Nov 04 '15 at 03:46
  • in v7 there are AppCompatDialog, and AppCompatDialogFragment @SMR – 3alto Nov 04 '15 at 03:46
  • 1
    @SMR i've read that thread. it didn't explain what i was looking for, otherwise i wouldn't have made this post – 3alto Nov 04 '15 at 03:47
  • according to the [docs](https://developer.android.com/reference/android/support/v7/app/package-summary.html) the `AppCompatDialog` and `AppCompatDialogFragment` use AppCompat themes. not sure if there is any other difference – SMR Nov 04 '15 at 03:50

0 Answers0