Hi all in my POC app I am using the bottom bar wit...
# compose
n
Hi all in my POC app I am using the bottom bar with 3 tabs home, messaging, service, and I have separate Navhosts for each tab. In the home Navhost I have 2 screens one for the home dashboard and other for a webjourneyscreen composable to do webview (using AndroidView way) journey. On the Webjourneyscreen I have 2 stats, notify and success, on notify I show a disclaimer and when the user taps it fetches the url from the backend and load in the webview. All works well, but when I switch to message tab and come back to home the webview is still visible which is great but it's loading the url again. Has anyone done similar thing, how to stop the webview from reloading the url when switching the tab. In WebJourneyScreen I have created a webview using remember and inside the scafold I am checking the success state and shwoing the AndroidView and in the factory I am loading the URL from the success state