Skip to content

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.

Notifications You must be signed in to change notification settings

thedeveloperworldisyours/Dagger2RxJava

Repository files navigation

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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages