Simple example how to use Dagger2, Retrofit2 and RxJava together. In this example you can learn how to test server call with Mockito and JUnit.
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea update version to 27 Nov 27, 2017
app changed place of class in packages Nov 30, 2017
gradle/wrapper update version to 27 Nov 27, 2017
projectFilesBackup/.idea unfinished themePresenter Jul 10, 2017
.gitignore first commit Apr 19, 2017
README.md Update README.md Nov 28, 2017
build.gradle renamed Topics, added utils and constants Nov 29, 2017
gradle.properties first commit Apr 19, 2017
gradlew first commit Apr 19, 2017
gradlew.bat first commit Apr 19, 2017
settings.gradle first commit Apr 19, 2017

README.md

Dagger2RxJava

In this example you can learn how to test server call with Mockito, JUnit, Retrofit, RxJava and Dagger 2.

You'll find the supporting article for server call int this project here!

You'll find the supporting article for Unit testing in Presenter int this project here!

This app inclid:

Android Architecture Blueprints

Java8

Libraries and tools included:

  1. Support libraries
  2. RecyclerViews
  3. RxJava and RxAndroid
  4. Retrofit 2
  5. Dagger 2
  6. Butterknife
  7. Retrolambda
  8. Guava
  9. Okhttp
  10. JUnit
  11. Mockito

Also visit my blog: The developer world is yours

The developer world is yours

Requirements

- Android Studio

- Gradle

Installation

- Install Android Studio:

https://developer.android.com/sdk/installing/index.html

- Install gradle:

http://gradle.org/docs/current/userguide/installation.html

Usage

Compile with Android Studio and gradle

Feel free to contribute, and contact me for any issues.

Developed By

Add me to Linkedin

License

Copyright 2017 Javier González Cabezas

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.