I am making a simple app where there is the main activity which has buttons that lead to new activities. These activities all have the same bottom sheet with a stopwatch. I want to be able to start the stopwatch in one activity, go to main activity then to another activity and it is still counting.
Essentially, I want to have one common stopwatch for all the activities.
What would be the easiest approach to this?
I am writing my app in Kotlin.
Thank you for your help!