Piotr Prus
04/16/2021, 7:21 AMAdvancedNavigationSample
, so every Tab has its own navGraph. I got three main screens: Map, List and settings(which is also the list TBH). The screens with lists works fine, the scroll position is maintained, nested fragments are maintained, etc. The Map view is recreated each time. Not all the components, but the map, which is added in AndroidView
composable is recreated. I am saving the last location as a state, so the map shown the exact same place when I am coming back to it, but it always âcalculatesâ or draw tiles again.
Is that something for map specific that cannot be changed or something might be wrong with my AndroidView
implementation?Piotr Prus
04/16/2021, 7:24 AM