Skip to content

sam-devstudio/DashesHandler

Repository files navigation

DashesHandler

An utility for your Android Project to solve the problem of adding Dashes or any desired character in an EditText field

Key Features

1 - Delete handling of Dashes
2 - Copy Paste Handling of Dashes
3 - Configurable number of Characters

How to use

Add the following in Project level gradle

 maven { url 'https://jitpack.io' }

Add the following in app level gradle

implementation 'com.github.saqibmirza2007:DashesHandler:1.0.1'

Now in your Kotlin Activity/Fragment file with the EditText reference

//Et is the EditText reference, Use your reference id
et.addDashes()

And here the magic happens

Demo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages