ground-android
ground-android copied to clipboard
Use composition instead of inheritance to define map and map control UIs and behaviors
trafficstars
@shobhitagarwal1612 @JSunde, rough design:
What does MapControlsFragment and MapControlViewModel do?
What does MapControlsFragment and MapControlViewModel do?
These would encapsulate all the controls that get overlaid on the map:
- Location lock
- Layers button
- Any other controls we might end up adding which can be used across map experiences
MapContainerFragment would be responsible for wiring up MapControlsViewModel to MapViewModel.