PasswordEditText

Additional

Language
Kotlin
Version
1.1.3 (Apr 10, 2019)
Created
Apr 8, 2019
Updated
Apr 10, 2019 (Retired)
Owner
Dmitry Dyachenko (followthemoney1)
Contributor
Dmitry Dyachenko (followthemoney1)
1
Activity
Badge
Generate
Download
Source code

The library is made from the concept which is just an example of how this can be implemented.

How it works:

Example:

        <pc.dd.password_view.PasswordEditText
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/passwordEditText"
            app:showBottomTips="true"
            app:cardProgressColor="@color/green"/>

To use from code

  passwordEditText.onTextChanged { t -> Log.e(javaClass.name, t) }
  passwordEditText.onValidate = { validate ->  Log.e(javaClass.name, validate.toString())}

How to

Step 1. Add the JitPack repository to your build file

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.followthemoney1:PasswordEditText:{version}'
 }