Android Livedata: Transformation Switchmap: Apply Filter On The Original List And Show The Filtered Data
public class FlightViewModel extends BaseViewModel { private FlightRepository flightRepository; private MediatorLiveData>
Solution 1:
Please read this document and apply switchMap transformation to your source livedata. It will not alter your original source LiveData values.
Post a Comment for "Android Livedata: Transformation Switchmap: Apply Filter On The Original List And Show The Filtered Data"