Integrating Retrofit with RxJava to simplify threading in app. Creating a simple app that fetches JSON data and displays it in a recyclerview layout using the libraries.
The following libraries were used in this framework.
-
Retrofit implementation 'com.squareup.retrofit2:retrofit:2.2.0' implementation 'com.squareup.retrofit2:converter-gson:2.2.0' implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
-
RxJava implementation "io.reactivex.rxjava3:rxjava:3.0.6" implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
-
CardView implementation 'androidx.cardview:cardview:1.0.0'
-
RecyclerView implementation 'com.android.support:recyclerview-v7:30.3.1'
-
Glide implementation 'com.github.bumptech.glide:glide:4.9.0'
-
Mockito testImplementation 'org.mockito:mockito-core:1.10.19' testImplementation "com.squareup.okhttp3:mockwebserver:4.8.1"
testImplementation 'junit:junit:4.12'
- Ozge Akat - Initial work - ozgeeakat
This project is licensed under the MIT License - see the LICENSE.md file for details

