How to make a series of DialogFragments. One closes, the other opens automatically?

I have 6 different ones DialogFragment layouts. These layouts contain different ones Viewsand are a guideline for the user.

So, DialogFragment1 opens, the user confirms (the button presses) what is written in DialogFragment, and then the next opens, etc.

What is the best approach to this?

The various layouts contain Edittex, Buttons, Progressbars, Images, and one of the DialogFragment should launch ServiceLaunch Backgroundto load data

I decided to make them all separate DialogFragment, and then use a method replace();in each class DialogFragment, like a chain

+4
source share

Source: https://habr.com/ru/post/1654691/


All Articles