Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Timer timer = new Timer();
- timer.scheduleAtFixedRate(new TimerTask() {
- @Override
- public void run() {
- //async task here
- new ThoughtsHandler().execute();
- }
- }, 0, 10000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement