How to make edittext not to accept same character 4 times consuctivelty. For example it can accept "888" and not "8888". And if user writes a same character 4 times then the edittext should stop taking input
I am not sure how to implement this with textwatcher
Welcome to platform @Umar Afzal
Try this