Create DialogFragment after closing a second activity

0

I have a flow of screens this way in the Android project:

Activity1 - > Fragment1 - > DialogFragment1 - > DialogFragment2 - > Acivity2 - > Fragment2

When I exit DialogFragment2 for Activity2, I close DialogFragment2.

After completing the tasks in Fragment2, I need to reopen DialogFragment2. But here comes the question, how to do this, since I can not call due to having given a getActivity (). Finish (); in Fragment2.

What would be the best way to implement it to work as expected?

    
asked by anonymous 19.06.2018 / 21:17

0 answers