OTPVIew

General

Category
Free
Tag
Password Inputs
License
MIT License
Registered
Mar 27, 2019
Favorites
1
Link
https://github.com/anonymous-ME/OTPView
See also
PasscodeView
PinCodeView
ApplicationLocker
OTP View
PassCodeText

Additional

Language
Kotlin
Version
0.1.0 (Mar 22, 2019)
Created
Mar 22, 2019
Updated
Mar 26, 2019 (Retired)
Owner
Affan Ahmad (anonymous-ME)
Contributor
Affan Ahmad (anonymous-ME)
1
Activity
Badge
Generate
Download
Source code

Android PinView / OtpView

Custom view that contains EditTexts for typing and X number of digits depending on the set pin length.

How to integrate the library in your app?

Add it in your root build.gradle at the end of repositories:

allprojects {
 repositories {
  maven { url "https://jitpack.io" }
 }
}

Step 2. Add the dependency

dependencies {
 implementation 'com.github.anonymous-ME:OTPView:0.1.0'
}

Step 3. Add OTPView to your layout file

    <affan.ahmad.otp.OTPView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>

Screenshot