- Add necessary dependencies for
Jetpack Compose
,Retrofit
,Coroutines
,UnitTesting
andData Storage
in the build.gradle files.
- Define data classes for the information via
Postman
- Implement a repository class that will use
Retrofit
to fetch data from the API.
- Implement a
ViewModel
that will use the repository to load data and expose it to the UI.
- Create UI screens with
JetPack Compose
- Use
Jetpack Navigation
to navigate between different screens.
- Ask the user for location access permissions.
- Use the fused location provider to get the user's current location.
- Use the location coordinates to fetch data from the API.
- Use
Jetpack DataStore
to cache data.
- Use
JUnit
andMockito
to write unit tests.