I am using handler.postDelayed() to create a waiting period before the next stage of my app takes place. During the wait period I am displaying a dialog with pr
handler.postDelayed()
Another way is to handle the Runnable itself:
Runnable r = new Runnable { public void run() { if (booleanCancelMember != false) { //do what you need } } }