https://kotlinlang.org logo
#android
Title
# android
a

Aidooyaw1992

06/29/2021, 10:46 PM
can anyone help me with best practices in writing input validation functions in kotlin
c

Colton Idle

06/30/2021, 12:12 AM
Like... regex?
a

Aidooyaw1992

06/30/2021, 6:08 AM
how to go about input validation in the views
c

Christiano

06/30/2021, 1:32 PM
The easiest thing I found was using a third-party library for input validation. I prefer to use this one https://github.com/deadpixelsociety/passport But this one is another viable option https://github.com/wajahatkarim3/EasyValidation Do mind that these libraries have not been updated for some years. So use them with caution.