I am upload multiple image to server using convert image to base64 and send image in a API as a parameter. But when we call api again and again then how to stop api calling
You can check result of your task. And if everything is alright you can
task.resume()
but if not
task.cancel()