glidex icon indicating copy to clipboard operation
glidex copied to clipboard

Download images from url with proxy

Open acaliaro opened this issue 5 years ago • 1 comments

Hi @jonathanpeppers . Excellent work, as always... I have a problem with FFImageLoading and Android devices

luberda-molinet/FFImageLoading#1496

https://forums.xamarin.com/discussion/185515/ffimageloading-cacheimage-and-proxy

Do "glidex" have the possibility to download images through a proxy?

Alessandro

acaliaro avatar Oct 26 '20 11:10 acaliaro

glidex just uses the binding for Glide and sets it up to be called from Xamarin.Forms.

So the question is if you can use a proxy with Glide. There is an example here:

https://stackoverflow.com/a/54597523

So you should be able to have a custom IGlideHandler and setup the proxy, I think? Here is an example of using IGlideHandler:

https://github.com/jonathanpeppers/glidex/blob/master/glidex.forms.sample/RandomAlphaHandler.cs

jonathanpeppers avatar Oct 26 '20 13:10 jonathanpeppers