Category "onbackpressed"

Last navigation gets resubmitted

Okay, so I'm not sure, what exactly triggers that. But I have a suspicion. Sadly it will get hard to make a MWE, since it is a very complex app with lots of fra

In Android Navigation Architecture, how can I check if current Fragment is the last one?

I need to display custom AlertDialog, but only when there are no more fragments after calling NavController.navigateUp(). My current code does something similar

on back press splash screen showing instead of last opened screen

I am making one android application. When i open the app splash screen showing and then it goes to mainactivity. now if user will press the back button and open