com.bumptech.glide.request.target
Interface SizeReadyCallback

All Known Implementing Classes:
GenericRequest, ViewPreloadSizeProvider

public interface SizeReadyCallback

A callback that must be called when the target has determined its size. For fixed size targets it can be called synchronously.


Method Summary
 void onSizeReady(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, or Target.SIZE_ORIGINAL to indicate that we want the resource at its original width.
height - The height in pixels of the target, or Target.SIZE_ORIGINAL to indicate that we want the resource at its original height.