Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 766 Bytes

README.md

File metadata and controls

36 lines (19 loc) · 766 Bytes

Weather2016

A new weather app to demonstrate the patterns that can be used in Android development.

There are 2 productFlavors: prod is normal flavor which retrieves real data from the server; mock is using mock data from a json file saved in the raw directory.

 productFlavors {
    mock {
        applicationIdSuffix = ".mock"
        versionName "1.0-mock"
    }
    prod {
        versionName "1.0-prod"
    }
}

Alt text

Libraries

Gson - https://github.com/google/gson

OkHttp - http://square.github.io/okhttp

RxAndroid - https://github.com/ReactiveX/RxAndroid

Dagger2 - http://google.github.io/dagger/