Skip to content

Commit

Permalink
Update ImageService.cs
Browse files Browse the repository at this point in the history
MemoryCache recreating fix
  • Loading branch information
sleushunou authored Mar 27, 2024
1 parent 3b17181 commit 0c323bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/FFImageLoading/Platforms/Android/ImageService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public ImageService(

ImageCache imageCache;

public override IMemoryCache<SelfDisposingBitmapDrawable> MemoryCache => imageCache ?? new ImageCache(Configuration, Logger);
public override IMemoryCache<SelfDisposingBitmapDrawable> MemoryCache => imageCache ??= new ImageCache(Configuration, Logger);


public override IImageLoaderTask CreateTask<TImageView>(TaskParameter parameters, ITarget<SelfDisposingBitmapDrawable, TImageView> target) where TImageView : class
Expand Down

0 comments on commit 0c323bf

Please sign in to comment.