Android countdown timer in service -


i have count down timer in service. when stop service, countdown timer still count? mean onfinished method called if service has been stopped?

countdown timer runs in different thread , callbacks executed on ui thread. hence need manually cancel timer whenever service stopped. can follow hiren's answer.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -