Resource
data class Resource<ResourceT>(val status: Status, val resource: ResourceT) : GlideFlowInstant<ResourceT>
Content copied to clipboard
Wraps a Status and a resource loaded from the primary request, a RequestBuilder.thumbnail request, or a RequestBuilder.error request.
Status.FAILED is a perfectly valid status with this class. If the primary request fails, but at least one thumbnail succeeds, the flow will emit Resource(FAILED, resource)
to indicate both that we have some value but also that the primary request has failed.