I want to build a DialogFragment
that looks like this:
Should I use a single DialogFragment
and swap layouts? Or should I just build multiple DialogFragment
s?
You should use a single DialogFragment, and for the layout under (1) use a FrameLayout containing the possible states, and change the visibility on change of (1), or a ViewSwitcher depending on your favour.