Skip to content

Commit

Permalink
Reverted the onResourceCleared() use of post()
Browse files Browse the repository at this point in the history
  • Loading branch information
jstedfast committed May 9, 2023
1 parent 2a33fbf commit 14a131b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public MauiCustomViewTarget(@NonNull ImageView view, ImageLoaderCallback callbac

@Override
protected void onResourceCleared(@Nullable Drawable placeholder) {
post(() -> this.view.setImageDrawable(placeholder));
this.view.setImageDrawable(placeholder);
}

@Override
Expand Down

0 comments on commit 14a131b

Please sign in to comment.