Xamarin Forms 2.2 support
@daniel-luberda Hi,
Sorry to say that in indeed it's a FFImageLoading issue, but I think is an easy one, since in this new pre-release version of Xamarin.Forms they moved to Xamarin.Android.Support.v4(and Friends) to version 23.1.1.1 all you need to do is just re-build the nugget packages with that version.
For confirming that it's a FFImageLoading I tried removing all packages from my project, install lates pre-release of Xamarin.Forms 2.2.0.5-pre2, install again all packages that I was using except FFImageLoading and try to build, and It succeeded, then Add FFImageLoading and try to build, it failed with the errors I posted before. After that I created a new project, installed Xamarin.Forms 2.2.0.5-pre2, build succeeded, install FFImageLoading and Failed again. I was reading in the same post you point it out and people says they are having this issues with 3rd party libs that need to update their Xamarin.Android.Support.v4(and Friends) to version 23.1.1.1
Thank You
@lecnierfreeman Thanks for the info. I didn't test alpha Xamarin.Forms yet. I'll give it a look soon.
I can confirm and I just recompiled FFImageLoading.Forms.Droid w/ Forms 2.2.0.5-pre4 and all is back to normal. I think I'm gonna wait for you guys to release on NuGet with the update.
Awesome Work! Love this Plugin.
@daniel-luberda I'm using XF 2.2.0.23-pre4 and having the same issues. I have Android Support library 23.3.0 and FFImageLoading 2.1.0-alpha1. Would really like to see a fix as soon as possible. @ryanherman Did you mean 2.2.0.5-pre2?
Xamarin Forms 2.2.0 stable just got released, any chance you can get a new nuget package out so we can use the new forms build in Android? Thanks :)
Have same errors, as above. Can not get it to work with latest stable Forms build on Android. Shows multiple "missing resource" errors
Upgraded xamarin forms to version 2.2, I can't build, same issue as others.
This is really urgent. 2.2 is a stable release now and it doesn't build with FFImageLoading.
@daniel-luberda Is it fixed in master?
@molinch Yes, sort of. The XF packages aren't updated in the Master yet. But if you do update them and build, it's running fine. Currently running the new compiled version on beta's on iOS and Android for about a week now, without problems.
Thanks for the feedback @timbrand !
Would you mind making a PR where you update all XF projects (lib and samples) to the latest version? Since I don't have VS it is complicated to update WP projects.
@molinch I'll fix that and release alpha nuget now.
Thank You, Thank You, Thank You, I've been waiting for this two weeks, couldn't build Android.
FFImageLoading 2.1.0-alpha2 nuget with Xamarin.Forms 2.2.0.31 support released. If you have any problems, please write details here. Thanks.
can confirm it works. but only after you add the references to the platform-specific project, too.
i'm pretty new to the xamarin-thing so i don't know if that's normal.
At the moment, I'm getting a weird Exception in thread "main" error in COMPILETODALVIK or
COMPILETODALVIK : UNEXPECTED TOP-LEVEL error
I noticed this might be the solution, but I haven't tried it yet: http://www.onthefencedevelopment.com/blog/2014/6/29/fixing-xamarin-compiletodalvik-build-error-in-vs2013
UPDATE: Upping the heapsize to 1G fixed the problem, but I'm not sure why I had to do that as I don't have GooglePlay packages.
@adrianknight89 TBH I don't know why you got this but it definitely seems to be a Xamarin or Android issue Thanks for posting the solution! It will be useful in case somebody else gets it in the future.
@krisrok Yes that's the normal scenario :)
I have done some testing over the past couple of hours. The XF2.2 version compiles/runs for me.
However, I am seeing some perf degradation in the alpha nugets compared to the original nugets. My observations: 1- Loading the images on start-up (from DiskCache I'm guessing) seems particularly slow as well. If I turn the app off/on there is always a long lag at the beginning until the images show up. This lag feels slower than what I had in the previous FF nugets.
2- Are the images loaded in a different order than before? Looks like some of the last ones now show up first. This could be what's causing the slowness perception.
Is this expected? Is it possible to revert to the "old" method of caching within this nuget?
Does the latest build really depend on XF2.2? I have a lot of issues with XF 2.2 right now on Android so I am holding off on upgrading.
@patook I created https://github.com/molinch/FFImageLoading/issues/188 for your issue it will be easier to continue there