Skip to content

danilovteodoro/Maskers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maskers

Provide a dynamic mask generation to Android EditText.

How to use

  1. Declare InputMask view in your Layout interface and assign the mask attribute with your mask.
<org.dteodor.maskers.input.InputMask
           android:layout_width="match_parent"
           android:layout_height="wrap_content"
           app:mask="###.###.###-##"
           android:id="@+id/inputMask"
   />
  1. Get the unmasked text.
inputMask.unmask() //Get unmasked text
inputMask.mask //Get mask

Releases

No releases published

Packages

No packages published

Languages