Skip to content

Commit d17541e

Browse files
committed
Update README.md
1 parent a2e7849 commit d17541e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ Sample implementation [here](app/)
8484

8585
### Check if password is complete and valid
8686
```kotlin
87-
validationView.isPasswordValid //returns true if password is complete and valid
87+
validationView.setOnValidationListener {
88+
button.isEnabled = it //returns true if password is complete and valid
89+
}
8890
```
8991

9092

0 commit comments

Comments
 (0)