About application
This application provides an ability to get latest weather in Saint Petersburg.
Weather contains info about temperature, windSpeed, humidity and ect.
Weather are synced by Workmanager with 5 minute interval. It's also possible to use pull-to-refresh feature.
As for images, Glide was used. As for local storage, Room was used.
About architecture
Clean Architecture Robert C. Martin article approach is used as application basement. Project structure is devided on 3 layers:
- Data layer (data package) - This layer is responsible for "data" logic of application (contains code which communicates with database and remote API).
- Business logic layer (domain package) - This layer is responsible for implementation of business use cases.
- UI logic layer (presentation package) - This layer is responsible for end user application implementation. This layer contains another artitecture patterns for UI logic responsibility separation.
Project details
- Language - Kotlin.
- Network stack - Retrofit, OkHttp, GSON.
- Database - SQLite + Room library.
- DI - Dagger 2
- Coroutines
- MVVM implementation - Google architecture components (ViewModel + LiveData).