Back to project page android-javarx-example.
The source code is released under:
Apache License
If you think the Android project android-javarx-example listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.bnsantos.movies.providers; /* ww w . j ava 2 s . c om*/ import com.bnsantos.movies.model.Movie; import java.util.List; import rx.Observable; /** * Created by bruno on 19/11/14. */ public class LazyMovieProvider extends MovieProvider { public Observable<List<Movie>> subscribe() { return Observable.merge(retrieveCachedMovies(), cacheAndRetrieveMovies()); } }