-
Notifications
You must be signed in to change notification settings - Fork 8
Home
Arnaud Giuliani edited this page Mar 27, 2018
·
44 revisions
This repository contains the following projects:
-
weatherapp
- A cool Android Weather App
This project contains the following packages:
-
model
- The weather model -
view
- the views of the app -
repository
- weather data repository components -
data
- contains the datasource of the app (remote web services, database ...) -
util
- util classes & extensions -
di
- Koin dependency injection definitions
The app is composed of 3 view:
-
splash
- the first screen of the app, that load last weather or default weather -
weather
- main screen of the app, displaying weather of the day and next days for the given location -
detail
- display one weather data day, choosen from weather view
Yes we have some tests :)
- Unit tests in
test
folder, contains Presenter/ViewModel mock tests - Android instrumented in
androidTest
folder, will be used for Room part
Follow carefully each exercice and read each step. TODO sections will contains what you will have to do in each part.
git history to follow steps ...
Checkout the first step and synchronize your project to download all needed dependencies ...
Migrate our MVP architectured app to MVVM with Android Architecture Components
- 1.0 - Preparing
- 1.1 - First ViewModel & LiveData with Weather Detail View
- 1.2 - ViewModel & Events with the Splash View
- 1.3 - Shared ViewModel between Activity/Fragments, with the Weather View
Make the weather app fully persistent using the Android Architecture Room API