Overriding DialogFragment.onCreateView for dual presentation



Right before the challenges in chapter 12, there is a theory about overriding DialogFragment.onCreateView(…) instead of onCreateDialog(…) to prepare for dual presentations (full-screen fragment and dialog fragment)

I gave it a try but had no luck.

So can anyone please provide an implementation for the above?