Hello there!
I working on project where I need to manage session, so whenever I found that my response give me error like 404 or 403 so I need to show popup/DailogueFragment
what is the best way to setup globally, My project is multiple activity with multiple fragment based project, well I have tried this by making LogoutDialouge class which works fine when calling in activity, I think there is issue with context in fragment scenario. well I want other best approaches that you guys follow.