You are on the right track. To display pretty much anything on the UI you need to use an Item.
Show what you’ve done so far and maybe we can more efficiently point you in the right direction.
In general you’ll need to implement something like Design Pattern : Expire Binding based Countdown timer which is using Expire but the over all approach would be the same.
- Update the time remaining Item with the amount of time on the timer.
- Create a timer that expires in a second.
- Inside the timer, subtract one second from the time remaining Item and update the Item
4a. If the time is up update the Item to 0 and do the work of the timer.
4b. if the time isn’t up, reschedule the timer for another second.