I am implementing a function which performs some backend database task. I have used Asynctask for that but If the backend task is in process and I close the activity, I want to cancel the AsyncTask too. How I can do tat?
Asked
Active
Viewed 189 times