Skip to content

Instantly share code, notes, and snippets.

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