fallback
Sets an Drawable to display if the model provided to load is null
.
If a fallback is not set, null models will cause the error drawable to be displayed. If the error drawable is not set, the placeholder will be displayed.
Replaces any previous calls to this method or fallback.
Return
This request builder.
See also
Parameters
drawable
The drawable to display as a placeholder.
Sets a resource to display if the model provided to load is null
.
If a fallback is not set, null models will cause the error drawable to be displayed. If the error drawable is not set, the placeholder will be displayed.
Replaces any previous calls to this method or fallback.
Return
This request builder.
See also
Parameters
resourceId
The id of the resource to use as a fallback.