How to display dialog on any screen (fragment or activity) in android
User is in Fragment/Activity "A"
In the onCreate() of screen "A" i fire some network call on a background thread.
User navigates to some other Fragment/Activity, now when i get the response from the network i need to show the dialog no matter wherever the user is in the app.
How can i achieve this behavior? using DialogFragment