title: Handler to run task every 5 seconds Kotlin
body: <p>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.</p>
  
  <p><a href="https://i.stack.imgur.com/U9pAv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/U9pAv.png" alt="My Code"></a></p>