.bind(to: viewModel.emailObserver) .disposed(by: disposeBag) loginButton.rx.tap .bind(to: viewModel.onLoginActionFired) .disposed(by: disposeBag) // ViewModel var mailPlaceHolderText: Observable<String> { return .just(R.string.localizable.loginScene_MailPlaceHolder()) } _email .map(validationUsecase.email) .bind(to: _emailValidation) .disposed(by: disposeBag) _onLoginActionFired .withLatestFrom(Observable.combineLatest(_email, _password)) .subscribe(onNext: loginUsecase.login) .disposed(by: disposeBag)