Hi all! I'm migrating an Android compose and swift...
# compose
g
Hi all! I'm migrating an Android compose and swiftui ios app to compose multiplatform and I'm facing an issue (had a workaround on Android but I want to know if someone found a better solution since). I have a screen which is basically a webview. This screen need to be pre-loaded and can be access everywhere in the app (so, should be a nav destination). But... the webview reload each time I navigate to it! I used the
rememberSaveableWebViewState
from Accompanist but without success. Also, tried using MovableContentOf but had a weird issue where it was trying to compose the webview at both place and crash (doesn't remember well, should probably try again) My final workaround was to place it in a box next to the navhost and flipping the alpha... Do you have something better ?