Fetch icon indicating copy to clipboard operation
Fetch copied to clipboard

How to turn off background process download ??

Open anggi117 opened this issue 4 years ago • 3 comments

Hii, thanks for nice library I wanna ask how to turn off background proccess after i close application using home button?

im search in backgroundHandler but idk how to turn off that Thank you anyway

anggi117 avatar Jan 26 '21 09:01 anggi117

Hey, Try using fetch.cancel() if you want to stop in onDestroy() method.

InfiniteCoder06 avatar Jan 27 '21 05:01 InfiniteCoder06

Hey, Try using fetch.cancel() if you want to stop in onDestroy() method.

how using onDestroy man? im declare in my main can't work

anggi117 avatar Jan 27 '21 06:01 anggi117

Can u share the file that you are making

InfiniteCoder06 avatar Jan 28 '21 17:01 InfiniteCoder06