Skip to content

GitEliteNovice/RetrofitwithRxjava

Repository files navigation

RetrofitwithRxjava

This an Example of how to use rxjava with Retrofit. Retrofit with rxjava is an awesome combination with some topping of retrolambda. What i have found by putting all of three together is really exceptional.

Retrofit

  • It is fast and very easy to use.
  • I can parse any many other types of responses automaticall like... #Integer, #Boolean, #String, #CustomModel
  • Its callback method taht automatically handle the error, most import when key missing from json response .

RxJava(Best thing happened with #androdDev)

  • we can have data as asynchronously.
  • When i was using AsyncTask, the problem was that first i had to get complete data then parse it into Ui.Then Volly came now we can add data on evey count but its is running on main thread. But Rxjava with retrofit i can get data from api using seprate thread and asynchronously, and can load data must fast then rest.
  • i can acress two or more api and sync them using rxjava.

Retrolambda

  • it help mne to corde precisely , beautiful and clean.

Thanks Ihor for helping me in Retrofit.

About

An Example of parsing data asynchronously and fast using rxjava and retrofit

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages