Blendletje
Blendletje copied to clipboard
Demo app using Blendle APIs to fetch articles
Blendletje
Sample Android project of a Blendle client.
The client will load automatically the most popular articles from Blendle API, which can be found here: https://static.blendle.nl/api.json
Technical features
The code demostrates how to use together multiple design patterns, libraries, automated tests on the Java virtual machine and on the UI using Espresso.
Libraries
- RxJava
- Retrofit, OkHttp and MockWebServer
- Gson
- Halarious
- AutoValue
- Realm database
- Dagger
- Picasso
- PicassoPalette
- Mockito
- DaggerMock
- Espresso
- Timber
Patterns
- Model view presenter
- Dependency inversion and dependency injection
- Continuous integration
- Page Object Pattern
Running the project and the tests
Application's apk can be directly downloaded from here.
Open the project in Android Studio and select the gradle task 'installDebug' or simply press the Run button.
To run all the tests from the command line execute ./gradlew check connectedCheck
from the project's folder.
Note: Make sure to connect a phone to the computer or start an emulator before running the tests.
Continuous integration environment
Builds are triggered and automatically built on every commit to git repository, executing all unit and instrumentation tests. Build history and reports can be accessed here: https://travis-ci.org/sebaslogen/Blendletje/builds
License
This content is released under the MIT License: http://opensource.org/licenses/MIT