Interface SizeReadyCallback
-
- All Known Implementing Classes:
SingleRequest,ViewPreloadSizeProvider
public interface SizeReadyCallbackA callback that must be called when the target has determined its size. For fixed size targets it can be called synchronously.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonSizeReady(int width, int height)A callback called on the main thread.
-
-
-
Method Detail
-
onSizeReady
void onSizeReady(int width, int height)A callback called on the main thread.- Parameters:
width- The width in pixels of the target, orTarget.SIZE_ORIGINALto indicate that we want the resource at its original width.height- The height in pixels of the target, orTarget.SIZE_ORIGINALto indicate that we want the resource at its original height.
-
-