Hello friends, I have an app bar using defined fro...
# android
r
Hello friends, I have an app bar using defined from my fragment rather than activity by using
Copy code
setupWithNavController(findNavController())
in my onViewCreated function. The problem I'm facing is trying to implement a warning message when a user clicks the Navigate Up button within the app bar. I've found solutions online pertaining to app bars defined in an activity but they don't seem to work for me (such as using override fun onSupportNavigateUp() ). Any ideas if I may be able to accomplish this?
😶 5