Last character taken twice by textwatcher
assume that you have a string like Shoe , so the statement s.length() – 1 will return 3 , keep in mind that array index in java will start from 0 , so s.charAt(s.length() – 1) will return character “e” again. then in your if else clause you append “e” to your String and the … Read more