Skip to content

Commit

Permalink
refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
KucherenkoIhor committed Nov 26, 2017
1 parent e537820 commit 62c8959
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies {
api 'io.reactivex.rxjava2:rxandroid:2.0.1'
api 'io.reactivex.rxjava2:rxjava:2.1.4'
implementation 'com.jakewharton.rxbinding2:rxbinding:2.0.0'
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
}
repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,19 @@ class RxValidationTextInputLayout @JvmOverloads constructor(

var showErrorIfEmpty: Boolean = false

var focusDisposable: Disposable? = null
private var focusDisposable: Disposable? = null

var onReady: ((Observable<Boolean>) -> Unit)? = null

var observable: Observable<Boolean>? = null
private set(value) {
field = value
}

var isReady: Boolean? = null
private set(value) {
field = value
}

companion object {

Expand Down

0 comments on commit 62c8959

Please sign in to comment.