1 package com.bumptech.glide.request.target; 2 3 /** 4 * A callback that must be called when the target has determined its size. For fixed size targets it can 5 * be called synchronously. 6 */ 7 public interface SizeReadyCallback { 8 /** 9 * A callback called on the main thread. 10 * 11 * @param width The width in pixels of the target. 12 * @param height The height in pixels of the target. 13 */ onSizeReady(int width, int height)14 void onSizeReady(int width, int height); 15 } 16