Run time error thrown on Android device using the Latest version of FFImageLoading.
Tested on Android 4.4 (API 19) and Android 8.0 (API 26) both is reproducible.
The project is created right away using Visual Studio Xamarin Forms portable project template.
Method `FFImageLoading.Forms.CachedImage.set_IsRendererInitialized(bool)' is inaccessible from method `FFImageLoading.Forms.Platform.CachedImageRenderer.Init(System.Nullable`1<bool>)'
App starts.
App crashes
MainActivity.cs (Android project)
```C#
protected override void OnCreate (Bundle bundle)
{
Instance = this;
TabLayoutResource = Resource.Layout.Tabbar;
ToolbarResource = Resource.Layout.Toolbar;
base.OnCreate (bundle);
this.SetTheme(Resource.Style.Theme_Design_Light);
FFImageLoading.Forms.Platform.CachedImageRenderer.Init(false);
global::Xamarin.Forms.Forms.Init (this, bundle);
LoadApplication (new Foobar.App ());
}
```
bin/obj folders then rebuild. Thanks @daniel-luberda ,
For most cases after updating library, I did Clean/Rebuild and it will work.
But this actually requires removing bin/obj. Problem solved
Most helpful comment
Thanks @daniel-luberda ,
For most cases after updating library, I did Clean/Rebuild and it will work.
But this actually requires removing
bin/obj. Problem solved