There are several built-in ways to call a timer using the Android stack. A good example is the Chronometer .
I would like to combine a piece of code (thread A) that implements a timer using the Thread.sleep () method
I plan for the tat service to call this thread and communicate with it.
Are there any drawbacks to using the sleep () method over the chronometer?
source
share