Pass Application context to MapPage and ContentScreen, create MapViewModel for ArcGISMap management, and refactor MapPage to display an interactive map.

This commit is contained in:
2025-11-20 09:32:22 +01:00
parent c05ea2878e
commit 04fd485cf9
4 changed files with 39 additions and 7 deletions

View File

@@ -34,9 +34,10 @@ class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
enableEdgeToEdge()
setContent {
StrassenSchadenPro2Theme {
MainScreen()
MainScreen(application=application)
}
}
}