Created
September 22, 2020 14:16
-
-
Save jaozinfs/7f859796f6b364580c9f4e866c8ea444 to your computer and use it in GitHub Desktop.
Código que executa um temporizador periodico
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val timer: TimerTask = object : TimerTask() { | |
override fun run() { | |
Handler().post { | |
//change current page | |
} | |
} | |
} | |
Timer().schedule(timer, DEFAULT_DELAY, DEFAULT_PERIOD) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment