This simple weather Android app displays a list of current weather conditions for each state capital.
The app display a list of 20 cities with:
- City name
- City country
- Current temp in Celsius
- Today's high/low temp in Celsius
- Precipitation
- A timestamp of when the data was updated
Weather information is consumed from OpenWeather API and updated when the app is opened. If offline, the app show cached data retrieved from local persistence.
When selecting a city from the current conditions list the app navigate to a new screen that displays a 5 day forecast for that specific city. If offline, the data is loaded from local persistence.
- Kotlin
- Target API 33
- Min API 23
- Room database.
- Retrofit.
- Jetpack (Androidx libraries Lifecycle)
- LiveData
- ViewModel
- Picasso for image loading
- Coroutines
- Dependency Injection with Dagger2
- Unit testing

