Quick question (might be a noob question so apologies in advance) :
I have a use case where I collect some form data which spans to a lot of pages. Something like a survey. I thought using Navigation Graph to traverse linearly would work. Now when I am on Fragment2 and filling in some form data, when I press the back button, I use the navController.navigate(frag1) function to move to another fragment. In this case, how do I retain the form values of Fragment 1. Using popUpBackStack() cleared all the data because it essentially pops the fragment off the stack. Is there an effective way to this?