Works as expected, however it has some issues with visibility updates such as with AnimatedVisibility
blocks, which clears the contents.
However, if you are not hiding the map at any moment, works great. Also works lazyly with LazyColumn
or LazyRow
.
Feel free to suggest changes.
Salma, try add following snippet to your Activity onCreate method (before setContent {...}):
Configuration.getInstance().load(
applicationContext,
PreferenceManager.getDefaultSharedPreferences(applicationContext)
)
Example you can see here https://github.com/Trevol/wiresag/blob/intelligent_environment_viz/app/src/main/java/com/example/wiresag/WireSagActivity.kt#L46