A naive question about Kotlin Android

Just started learning Kotlin a moment ago, and I really need some help!

In the main(first) window, I want it to show a number, and this number should increase one per second automatically, and when I jump to another window, this number should still keep increasing. I stuck this question about two days, though just wanted to practice textview at first

thanks anyway

submitted by /u/InsideBreeze0
[link] [comments]