Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Async injection with Dagger 2 and RxJava
Observable<HeavyExternalLibrary> provideHeavyExternalLibraryObservable(final Lazy<HeavyExternalLibrary> heavyExternalLibraryLazy) {
return Observable.create(new Observable.OnSubscribe<HeavyExternalLibrary>() {
public void call(Subscriber<? super HeavyExternalLibrary> subscriber) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.