Skip to content

Commit

Permalink
Mark RequestListener.onLoadFailed() model parameter as Nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Payen committed Apr 1, 2020
1 parent 52726e2 commit 621e2d5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ public interface RequestListener<R> {
* Target#onLoadFailed(Drawable)} to be called on {@code target}.
*/
boolean onLoadFailed(
@Nullable GlideException e, Object model, Target<R> target, boolean isFirstResource);
@Nullable GlideException e,
@Nullable Object model,
Target<R> target,
boolean isFirstResource);

/**
* Called when a load completes successfully, immediately before {@link
Expand Down

0 comments on commit 621e2d5

Please sign in to comment.