07-20-2023, 02:36 PM
I would like to run a certain code every 5 seconds. I am having trouble achieving this with a handler. How can this be done in Kotlin? Here is what I have so far. Also to note, the variable Timer_Preview is a Handler.
[![My Code][1]][1]
[1]:
[![My Code][1]][1]
[1]: