Skip to content

Instantly share code, notes, and snippets.

@marcin-adamczewski
Last active February 13, 2016 20:30
Show Gist options
  • Save marcin-adamczewski/afdf18548b59e9a51b3b to your computer and use it in GitHub Desktop.
Save marcin-adamczewski/afdf18548b59e9a51b3b to your computer and use it in GitHub Desktop.
Observable<LoginRequest> loginObservable = loginClickSubject
.flatMap(new Func1<Void, Observable<LoginRequest>>() {
@Override
public Observable<LoginRequest> call(Void ignore) {
return lastCredentialsObservable;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment