Package 

Class ImageViewer

    • Method Summary

      Modifier and Type Method Description
      static ImageRequestBuilder createImageRequestBuilder() Creates new {@code ImageRequestBuilder}.
      void show() Displays the built viewer if passed images list isn't empty
      String getUrl()
      void onDismiss() Fires when swipe to dismiss was initiated
      boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) Resets image on {@literal KeyEvent.KEYCODE_BACK} to normal scale if needed, otherwise - hide the viewer.
      • Methods inherited from class android.content.DialogInterface.OnKeyListener

        onKey
      • Methods inherited from class java.lang.Object

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

      • show

         void show()

        Displays the built viewer if passed images list isn't empty

      • onDismiss

         void onDismiss()

        Fires when swipe to dismiss was initiated

      • onKey

         boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event)

        Resets image on {@literal KeyEvent.KEYCODE_BACK} to normal scale if needed, otherwise - hide the viewer.