Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trying to bind glide in Xamarin

I want to bind the library Glide in Xamarin, but I am getting stuck oncom.bumptech.glide.BitmapOptions.

As this is an interface, it binds to IBitmapOptions, but it can't find that name in that namespace. I have tried looking in the output folder, but that interface seems to have disappeared.

I looked at the other errors I am getting and the binding project can't find 2 other interfaces. I looked in the Java code, and I see it uses the <?, ?, ?, ?> generic syntax.

Is there some problem with this syntax that makes it so that it cannot be bound? If so, how do I solve this?

like image 642
vrwim Avatar asked Jan 27 '16 07:01

vrwim


3 Answers

Glide for Xamarin binding on Github: https://github.com/thanhdatbkhn/Glide-Xamarin-Binding

like image 71
Robin Bruneel Avatar answered Oct 14 '22 01:10

Robin Bruneel


Glide is now supported via Nuget https://www.nuget.org/packages/Glide.Xamarin/

you can check to use it from here

https://github.com/beraybentesen/glide-xamarin-android/blob/master/README.md

like image 21
Mina Fawzy Avatar answered Oct 14 '22 01:10

Mina Fawzy


Glide binding is now supported by Xamarin Team: https://www.nuget.org/packages/Xamarin.Android.Glide/

Repository: https://github.com/xamarin/XamarinComponents/tree/master/Android/Glide

like image 1
wcoder Avatar answered Oct 14 '22 00:10

wcoder