I am planning to implement navigation like this:
The problem I face is when user is in LoginFragmennt
and presses back button it again loads up LognFragment
ie. stuck in loop.
I navigate to LoginnFragment
using conditional navigation as per this answer.
How to properly implement this?
See Question&Answers more detail:os