Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

Cannot use bindTo in version 1.0.0-alpha3 #24

Open
babedev opened this issue Apr 20, 2018 · 0 comments
Open

Cannot use bindTo in version 1.0.0-alpha3 #24

babedev opened this issue Apr 20, 2018 · 0 comments

Comments

@babedev
Copy link
Collaborator

babedev commented Apr 20, 2018

According to document we can bind view property to Observable

val emailAndPasswordValids = Observables.combineLatest(emailValids, passwordValids) { user, pass -> user and pass }

emailAndPasswordValids.bindTo(signInButton.rx.enabled)

But v.1.0.0-alpha3 the rx.enabled is no longer MutableProperty.

Is there any work around to use bindTo?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant