I have a WebViewFragment in a Single Activity Application, and I'm using the Android Navigation Component. I wish to keep the WebViewFragment running in the background once I navigate to a new fragment, so as to avoid reloading the website. Is this possible? Code I use to navigate to a new fragment.
Navigation.findNavController(view).navigate(WebViewFragmentDirections.actionWebViewFragmentToMainMenuFragment())