LiveData with Retrofit

About

Retrofit is the de-facto library for networking on Android. By default Retrofit returns a Call<T> but when working with Architecture Components, we require it to return LiveData<T> type.

In this lesson
- We will see how to add LiveDataCallAdapter and LiveDataCallAdapterFactory to get LiveData<T> instead of Call<T> as return type from Retrofit services.
- When it's useful to return LiveData

Something went wrong

Lesson added to
playlist

Create new playlist

We've got you covered

At Caster.IO we provide the best hyper focused & bite-sized development training available. Our goal is to
not waste your time, but to give more of it to you. From implementing a new pattern to learning a new technology,
we've got you covered.