Ffimageloading: Xamarin.Forms 2.3.3.152-pre2 Could not load type 'FFImageLoading.Forms.Droid.CachedImageRenderer'

Created on 18 Sep 2016  路  5Comments  路  Source: luberda-molinet/FFImageLoading

Hi!

I upgraded Xamarin.Forms to 2.3.3.152-pre2 and the application started to crash with.

System.TypeLoadException: Could not load type 'FFImageLoading.Forms.Droid.CachedImageRenderer' from assembly 'FFImageLoading.Forms.Droid, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

after CachedImageRenderer.Init(); I wanted to try the version 2.3.3.152-pre2 because of this bug https://forums.xamarin.com/discussion/comment/220535 that it seems its fixed in this version https://forums.xamarin.com/discussion/77854/xamarin-forms-2-3-3-pre2#latest (43530 - "[Android] Resuming app throws IllegalStateException from fragment manager" )

I just tested in android with FFImageLoading.Forms.Droid version 2.1.7

I downgrade to this version 2.3.2.127 and it's working again...

I think it's not that important since it's a pre of Xamarin.Forms

But well just to let it know

Thanks for the great library

Most helpful comment

FFImageLoading 2.1.8-pre-146 nuget which contains discussed fixes released.

All 5 comments

yeh, I got the same problem

Got the same problem and really keen to try the XF pre-release to resolve exactly the same issue as the OP. Will there be a pre-release of FFIL to address this?

FFImageLoading.Forms.Droid/CachedImageRenderer.cs(15,15): Error CS0534: `FFImageLoading.Forms.Droid.CachedImageRenderer' does not implement inherited abstract member `Xamarin.Forms.Platform.Android.ViewRenderer<FFImageLoading.Forms.CachedImage,FFImageLoading.Forms.Droid.CachedImageView>.CreateNativeControl()' (CS0534) (FFImageLoading.Forms.Droid)

I think it's a Xamarin.Forms issue as it breaks compatibility with all other renderers. CreateNativeControl method should be defined as virtual, not abstract.

//EDIT: I'll push a fix soon.

FFImageLoading 2.1.8-pre-146 nuget which contains discussed fixes released.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

matheusvelloso picture matheusvelloso  路  4Comments

jdbrock picture jdbrock  路  4Comments

muak picture muak  路  5Comments

PostImpatica picture PostImpatica  路  4Comments

RaZp29 picture RaZp29  路  4Comments