Package 

Interface SizeReadyCallback


  • 
    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

      Modifier and Type Method Description
      abstract void onSizeReady(int width, int height) A callback called on the main thread.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onSizeReady

         abstract void onSizeReady(int width, int height)

        A callback called on the main thread.

        Parameters:
        width - The width in pixels of the target, or SIZE_ORIGINAL to indicatethat we want the resource at its original width.
        height - The height in pixels of the target, or SIZE_ORIGINAL to indicatethat we want the resource at its original height.