vrwim
vrwim

Reputation: 14370

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?

Upvotes: 8

Views: 2241

Answers (3)

ypakala
ypakala

Reputation: 1229

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

Upvotes: 1

Robin Bruneel
Robin Bruneel

Reputation: 1101

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

Upvotes: 3

Mina Fawzy
Mina Fawzy

Reputation: 21452

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

Upvotes: 3

Related Questions