In Android, is it necessary to close or stop all the running background threads before the app closes? If yes then how to do that?
I have multiple thread in my program. Say I am running some xyz operation on the first background thread. The problem that I am facing is that even after some time xyz operation on first background is still running, so I thought of stopping that thread explicitly.