Skip to content

Commit

Permalink
XF: Fixes #803 - SetLoading never set to false
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-luberda committed Nov 7, 2017
1 parent 3b2bcde commit f0bf61f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source/FFImageLoading.Forms.Droid/CachedImageFastRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -265,14 +265,14 @@ void UpdateBitmap(CachedImageView imageView, CachedImage image, CachedImage prev

if (imageLoader != null)
{
//var finishAction = imageLoader.OnFinish;
var finishAction = imageLoader.OnFinish;
var sucessAction = imageLoader.OnSuccess;

//imageLoader.Finish((work) =>
//{
// finishAction?.Invoke(work);
// // ImageLoadingFinished(image);
//});
imageLoader.Finish((work) =>
{
finishAction?.Invoke(work);
image.SetIsLoading(false);
});

imageLoader.Success((imageInformation, loadingResult) =>
{
Expand Down

0 comments on commit f0bf61f

Please sign in to comment.