public static interface Picasso.RequestTransformer
For example, if you use a CDN you can change the hostname for the image based on the current location of the user in order to get faster download speeds.
NOTE: This is a beta feature. The API is subject to change in a backwards incompatible way at any time.
Modifier and Type | Field and Description |
---|---|
static Picasso.RequestTransformer |
IDENTITY
A
Picasso.RequestTransformer which returns the original request. |
Modifier and Type | Method and Description |
---|---|
Request |
transformRequest(Request request)
Transform a request before it is submitted to be processed.
|
static final Picasso.RequestTransformer IDENTITY
Picasso.RequestTransformer
which returns the original request.