FFImageLoading 2.0.7
·
1301 commits
to master
since this release
Complete history of changes available here: v2.0.6...v2.0.7
Optimizations:
- Perform all things on thread pool. Leave UI thread ASAP optimizations
- iOS: Using ImageIO instead of UIImage withImageData for image resizing. More performant, thread safe, works in thread pool and avoids loading original images into memory.
Enhancements:
- Xamarin.Forms nuget now supports Windows UWP
ImageService.Initializemethod refactorings. It now usesConfigurationclass as a parameter. Old override is depreciated.- Android: Support for automatic rotation of images for File image sources basing on file EXIF data.
- InvalidateCache has a new parameter
removeSimilar, it's used to remove different variations of cache keys from MemoryCache (eg. different downsampling settings, different transformations, etc). - Success callbacks now return
ImageInformationobject which contains some informations about loaded image as:CurrentWidth,CurrentHeight,OriginalWidth,OriginalHeight,Path,FilePath,CacheKey - Added
DownloadImageAndAddToDiskCacheAsyncwhich provides a way to download & cache images without assigning to views (for later usage). #143 - Xamarin.Forms: Added InvalidateCache overload with ImageSource type parameter
- Xamarin.Forms: Added ReloadImage method
- Added FadeAnimationForCachedImages and FadeAnimationDuration options
- Transformations which use hex color string now support alpha channel on all platforms
- Updated XF samples to use Xamarin.Forms 2.0, PageFactory 2.0 MVVM framework
Fixes:
- Various memory leaks fixes to avoid
CancellationTokenSourceobjects not being disposed / garbage collected. - Xamarin.Forms for Windows: FileImageSource compatibility improvements with Forms
Imageclass - Fix #135: always invoke Success callback on main thread
- Xamarin.Forms:
System.MissingMethodException: No constructor found for CachedImageRenderer::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership) - #144 heap corruption detected by dlmalloc_real
- Android: Removed some legacy ImageViewAsync code
- Xamarin.Forms Removed some obsolete methods
- Xamarin.Forms: Obsolete methods refactorings after Xamarin.Forms 2.0 update (generic bindable properties)
- Some improvements to FFImageLoading.Cross.MvxImageLoadingView class