An utility for your Android Project to solve the problem of adding Dashes or any desired character in an EditText field
maven { url 'https://jitpack.io' }
implementation 'com.github.saqibmirza2007:DashesHandler:1.0.1'
//Et is the EditText reference, Use your reference id
et.addDashes()
And here the magic happens