 |
How to pause / sleep thread or process in Android? - Stack Overflow
You probably don't want to do it that way. By putting an explicit sleep() in your button-clicked event handler, you would actually lock up the whole UI for a second. One alternative is to use some sort of single-shot Timer. Create a TimerTask to change th
stackoverflow.com |
 |