nav_graph_guest_visit.xml - Fix back button
Right now there is an issue when using the back button when navigating through the guest visit fragments. It creates multiple stacks of the same scanner fragment after pressing a rescan button in the GuestScanConfirmationFragment.java. To see the issue I'm talking about. Navigate to the guest visit scanner in the app (Guest Forms -> Guest Visit Check In (Local Database)). Scan a Code 39 barcode and press the Confirm Scan button. When you get to the GuestScanConfirmationFragment press the rescan button or 'not you?' button. You should now be at the scanner. Each time you repeat this it will create another stack. Now, press the back button. You should see that it took you back to a previous instance of the scanner. That's the issue.
Edited by Tyler Sizse