Skip to content

Commit

Permalink
onTextCompleteListener made to return true
Browse files Browse the repository at this point in the history
  • Loading branch information
poovamraj committed Sep 2, 2018
1 parent 858078f commit c2ec8a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/src/main/java/com/poovam/sample/SampleActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class SampleActivity : AppCompatActivity() {
val listener = object : PinField.OnTextCompleteListener{
override fun onTextComplete(enteredText: String): Boolean {
Toast.makeText(this@SampleActivity,enteredText, Toast.LENGTH_SHORT).show()
return@onTextComplete false
return@onTextComplete true
}

}
Expand Down

0 comments on commit c2ec8a9

Please sign in to comment.