I am working on an app that counts the number of questions marks in a few paragraphs of text.
After the scanning is done (which takes no time at all) I would love to
Maybe try changing the for loop to something like:
int count = 0; while (count != sent) { if ((SystemClock.uptimeMillis() - freezeTime) > 500) { count++; sentScore.setText("" + count); freezeTime = SystemClock.uptimeMillis(); } }