-
public interface Interceptor.Chain
-
-
Method Summary
Modifier and Type Method Description abstract Interceptor.ChainwithRequest(ImageRequest request)Copy the current Chain and replace request. abstract Interceptor.ChainwithSize(Size size)Copy the current Chain and replace size. abstract ImageResultproceed(ImageRequest request)Continue executing the chain. abstract ImageRequestgetRequest()abstract SizegetSize()-
-
Method Detail
-
withRequest
@ExperimentalCoilApi() abstract Interceptor.Chain withRequest(ImageRequest request)
Copy the current Chain and replace request.
This method is similar to proceed except it doesn't advance the chain to the next interceptor.
- Parameters:
request- The current image request.
-
withSize
abstract Interceptor.Chain withSize(Size size)
Copy the current Chain and replace size.
Use this method to replace the resolved size for this image request.
- Parameters:
size- The requested size for the image.
-
proceed
abstract ImageResult proceed(ImageRequest request)
Continue executing the chain.
- Parameters:
request- The request to proceed with.
-
getRequest
abstract ImageRequest getRequest()
-
-
-
-