Iconize
Iconize copied to clipboard
Method `Plugin.Iconize.IconImageRenderer:.ctor ()' is inaccessible from method `Xamarin.Forms.Platform.Android.FastRenderers.ImageRenderer:.ctor ()'
Looks like there's a problem with the last Iconize version.
Unhandled Exception:
System.MethodAccessException: Method `Plugin.Iconize.IconImageRenderer:.ctor ()' is inaccessible from method `Xamarin.Forms.Platform.Android.FastRenderers.ImageRenderer:.ctor ()'
Tested with a new project and Xamarin.Forms => 2.3.5.233.
Anyone else with the same problem ?
~~EDIT: The problem occurred after updating all Xamarin.Android.Support nugets to 25.4.0.2.~~
EDIT 2: The problem occured after upgrading Xamarin.Forms from 2.3.5.256-pre6 to 2.4.0.266-pre1.
I can confirm this. I tried with and without Forms.SetFlags("FastRenderers_Experimental");, no change.
The android app also crash with same problem when using IconLabel, hope it's fixed soon.
Seams like the Renderer Classes are now internal sealed
See: https://github.com/xamarin/Xamarin.Forms/blob/c60367fe34275b32a384d11aa0ef89bc58a40a5f/Xamarin.Forms.Platform.Android/FastRenderers/ImageRenderer.cs#L11
@jsmarcus can you provide a nuget prerelease supports Xamarin.Forms 2.4.0.275-pre3?
I still have this issue, has there been a fix issued yet?