Context
Using
com.esri:arcgis-maps-kotlin-toolkit-geoview-compose:200.4.0
Issue
MapView(
isAttributionBarVisible = false
)
Attribution bar is still shown.
Hacky Solution
@Composable
private fun rememberAttributionBarVisibility(): Boolean {
// must be true by default - value must change to be applied
var isAttributionBarVisible by remember { mutableStateOf(true) }
SideEffect {
// fix attribution bar is not hidden by default
isAttributionBarVisible = false
}
return isAttributionBarVisible
}