Skip to content

NikhilBhople/Custom_OTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom_OTP

Custom OTP view

A simple solution for creating custom OTP component. It will give you the solution for

  • How to create custom OTP view
  • When you have to show Number to user for particular time
  • Autofill OTP when received by sms
  • You can decide if you want to show typed number or directly masked it

If you don't want to show typed number of user then Just refactor changeInputType method like below

private fun changeInputType(otp: AppCompatEditText) { otp.transformationMethod = BiggerDotPasswordTransformationMethod }

The result you can see it below

About

Custom OTP view

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages