FFImageLoading 2.2.0
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 propertyExecuteCallbacksOnUIThread
(disabled by default) - [Windows] Dropped Silverlight support
- [Windows] Transformations now use
byte[]
insteadint[]
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 inBitmapHolder
class. - [iOS] Changed default image cache location path (to fix unwanted cache purge issue)
TransparencyEnabled
is now obsolete, useBitmapOptimizations
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 newEnableSolidColor
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