tomtom-navigation-android-examples
tomtom-navigation-android-examples copied to clipboard
Jetpack Compose usage
trafficstars
Is it possible to use the map (map-display) with Jetpack Compose? I am struggling to display the map without using xml
Yes @Fr3di, it's possible. I've written about it here
Thx but it still requires to use xml file which ideally I would like to avoid after moving fully to Jetpack Compose. Unfortunatelly seems like that's the only way for now. Thx anyway @Czeach :)
You can actually do it without creating the xml container, just replace the container id with R.id.content when creating the map fragment. It'll work but it's less ideal.