- Supporting multiple themes in your Android app (Part 1)
- Supporting multiple themes in your Android app (Part 2)
Requirements
- Latest Android SDK tools
- Latest Android platform tools
- Android SDK Build tools 22.0.1
- Android SDK 22
- Android Support Repository
- Android Support Library 22.1.0
- Google Repository
- Google Play services 7.3.0
Dependencies
- Official Hacker News API
- Algolia Hacker News Search API
- appcompat-v7 / recyclerview-v7 / cardview-v7
- Square Retrofit / OkHttp
- Square AssertJ
- Square Dagger
- Robolectric
Build
./gradlew assembleDebug
Supply your own release signing config to build release. Release signing config is left out on purpose.
Test
Run all tests:
./gradlew test
Run a single test class, for example HackerNewsClientTest:
./gradlew testDebug --tests "*HackerNewsClientTest"
Coverage
./gradlew jacocoTestReport