Skip to content

FFImageLoading 2.2.0

Compare
Choose a tag to compare
@daniel-luberda daniel-luberda released this 31 Oct 09:57
· 985 commits to master since this release

Complete history of changes available here: v2.1.8...v2.2.0

Breaking changes

  • FFImageLoading Core rewritten for better performance & easier maintenance
    • Exceptions are not swallowed anymore
    • All image loading logic moved to shared, unified code
    • Fixed some loading issues
    • Removed unnecessary UI thread calls
    • Various performance optimizations
  • [Performance]OnFinish, OnError, OnSuccess, OnDownloading handlers are now not called on UI thread. It should be handled manually. This behavior can be changed with configuration property ExecuteCallbacksOnUIThread (disabled by default)
  • [Windows] Dropped Silverlight support
  • [Windows] Transformations now use byte[] instead int[] for storing pixels (it was a silverlight caveat which had an impact on performance / memory usage). Custom-made transformations need to be refactored after that (just some minor changes). Helper methods are provided in BitmapHolder class.
  • [iOS] Changed default image cache location path (to fix unwanted cache purge issue)
  • TransparencyEnabled is now obsolete, use BitmapOptimizations instead.
  • Some interfaces were changed / simplified

Enhancements:

  • [Configuration] Added DataResolverFactory for writing own custom data resolvers. Eg. you can completely replace loading of local or downloaded files logic to a custom one
  • [Configuration] Added SchedulerMaxParallelTasksFactory for controlling how many tasks can be running at the same time. It is evaluated each time, so it can change dynamically (eg. basing on current connection type)
  • [Transformations] TintTransformation has a new EnableSolidColor property. If enabled, solid color is used instead mixing with original pixel color values. Useful for replacing icon colors.
  • Generating pdb debug symbols with Gitlink

Fixes

  • Fixed ImageService.Instance.SetPauseWork not working correctly
  • [Android] Fixed loading placeholder stretched / shrinked / glitched when loading image with a different aspect ratio
  • Some other fixes