My FourDigitCardFormatWatcher
add a space after every 4 numbers. I want to change the FourDigitCardFormatWatch
to the following format 55555 5555 555 55.
How can i determine after 5 numbers add a space, then after 4 digits add a space and after 3 digits add a space.
Actual result: 4444 4444 4444
Expected result: 44444 4444 444
Edit the class like this..
To add the listener