question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
daniel-luberdacommented, Sep 21, 2016

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

0reactions
daniel-luberdacommented, Sep 21, 2016
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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xamarin.Forms 2.3.3.152-pre2
Version Downloads Last updated 5.0.0.2599‑pre1 5,104 2 months ago 5.0.0.2578 236,330 4 months ago 5.0.0.2545 394,270 7 months ago
Read more >
After installing FFImageLoading images don't show at all
My Xamarin Forms 5 app will allow users to upload their own images which can be large. I noticed that large images were...
Read more >
Gif file is not Loading the Xamarin forms
or if you're using Android: Copy. FFImageLoading.Forms.Platform.CachedImageRenderer.Init(true);. Then you can use this plugin in forms ...
Read more >
Using FFImageLoading with .NET MAUI - YouTube
But you should only do so when transitioning from your Xamarin application ... 8:50 - Running Android Sample App 10:00 - What is...
Read more >
Optimizing & Handling Images with FFImageLoading
Add from NuGet Package the plugin: Xamarin.FFImageLoading.Forms ... amount of retries that will be done, if the loading of the image fails.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found