I added the MVVM structure for the map feature.
I created:
-Location data type
-Location repository
-LocationViewModel, in order to retrieve location suggestions based on a user query (coming in UI later)
-NominatimLocationRepository, in order to (later) convert string locations into lat & long coordinates.
I also adapted my code to use Hilt annotations for providing dependencies and code modularity.
Code coverage > 80 %
This is the first step in order to implement the map, the front-end is coming in a later PR.
I added the MVVM structure for the map feature. I created: -Location data type -Location repository -LocationViewModel, in order to retrieve location suggestions based on a user query (coming in UI later) -NominatimLocationRepository, in order to (later) convert string locations into lat & long coordinates.
I also adapted my code to use Hilt annotations for providing dependencies and code modularity. Code coverage > 80 % This is the first step in order to implement the map, the front-end is coming in a later PR.
This solves issue #68