I want to pause image downloading and resume downloading. Here is my code
Glide.with(this).load("http://cfile2.uf.tistory.com/image/114DCE3E4D6456E52E6A5F").into(imageView);
Glide.with(this).pauseRequests();
It is supposed to be stopped and it has to be not shown in imageview. (The size of image is 10MB so it's size is big enough it takes for a while to be downloaded). Before the download of this image is completed, I called pasueRequest. However download never stops and the image shows up on the imageview.
However download never stops and the image shows up on the imageview.
If you know the size of the image already, avoid the loading.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.