For the past year and a half or more we've been using @JamesMontemagno's
Xam.Plugins.Forms.CachedImageCircle-plug-in (version 0.0.0.1 beta) to render circular user profile images in our App. This worked well until we recently tried to install the newest version of
FFImageLoading, upgrading from version 2.3.6 to version 220.127.116.110. For, as it turns out, the 2.4-series of
FFImageLoading removes one of the
CircleCachedImage's dependencies, namely the Android
CachedImageRenderer that the
CachedImageCircle depends upon (iOS doesn't seem to suffer from this issue). As a consequence it has now become impossible for us to update
The exact error message I get when building is below:
The type 'CachedImageRenderer' is defined in an assembly that is not referenced. You must add a reference to assembly 'FFImageLoading.Forms.Droid, Version=18.104.22.168, Culture=neutral, PublicKeyToken=null'.
In response, I went out looking for a replacement for the
CircleCachedImage and found @JamesMontemagno's
Xam.Plugins.Forms.ImageCircle. Still being on Xamarin.Forms 2.5.1, I installed version 2.0.2, and after changing some assembly references, base class identifiers and renderer initialization, all seems to work fine again, except for the following issues:
CircleImagedoesn't offer access to the HTTP-client used to download images specified in
UriImageSources. We, however, need this access to configure the authentication used to access profile images. Currently images don't load.
CircleImagedoesn't implement a caching strategy, which we used to profile pictures offline to speed up App performance and reduce network traffic.
CircleImagedoesn't support down-sampling the images retrieved.
CircleImagedoesn't disclose an
Error-event to detect when loading the image fails (at which point we had implemented some custom logic).
In other words, we can't, at present, switch to using
Xam.Plugins.Forms.ImageCirc.le. Nor can we
FFImageLoading, which forms its dependency
Therefore I'd like to know
FFImageLoading-libraries without having to switch to
Xam.Plugins.Forms.ImageCirclemeet the above requirements.
Thanks in advance for your help!