Skip to main content
5 events
when toggle format what by license comment
Nov 4, 2016 at 20:04 history edited David Rawson CC BY-SA 3.0
clarify
Nov 4, 2016 at 7:41 vote accept g33k
Nov 4, 2016 at 6:44 comment added David Rawson Well then you can add logic to the Runnable to loop. Something like if (!conditionMet()) handler.postDelayed(....). You will, of course have to make the Handler final to access it from within the Runnable
Nov 4, 2016 at 6:33 comment added g33k But this thing ll run this code after specific time just for once. I want it to run my code every 5 seconds till i say stop. So can i use for loop for this?
Nov 4, 2016 at 6:14 history answered David Rawson CC BY-SA 3.0