/Room_MVVM_RxJava_Retrofit

A sample with most popular libraries in MVVM with offline support

Primary LanguageJava

Room_MVVM_RxJava_Retrofit

A sample with the most popular libraries in MVVM with offline support. learn how to deploy popular components to each other by a simple sample in Java language. This project uses Unsplash.com APIs.

Create Unsplash.com Account

Please go to Unsplash and define a new app and then replace given Access Key to NetworkApi.java interface field.

The app has following packages:

data: It contains all the data accessing and manipulating components.

view: Activity and Recycler Adapter class.

viewmodel: ViewModel class with Livedata.

Dependencies and Libraries

  • Room
  • room-rxjava2
  • lifecycle-viewmodel
  • lifecycle-livedata
  • lifecycle-reactivestreams
  • Retrofit2
  • Retrofit2 converter-gson
  • Retrofit2 adapter-rxjava2
  • Glide