Justin Xu
03/14/2023, 2:26 AM(context as Activity).finish()
inside my fragment, but that doesn't seem to be right.Ian Lake
03/14/2023, 2:38 AMchanjungskim
03/14/2023, 3:51 AMJustin Xu
03/14/2023, 4:39 AMpopBackStack
into the calling activity(that is not part of the nav_graph). This is how I start the activity that inflates the navGraph
startActivity(Intent(applicationContext, MainActivity::class.java))
finish()
Ian Lake
03/14/2023, 4:41 AMJustin Xu
03/14/2023, 4:42 AMIan Lake
03/14/2023, 4:43 AM