Package 

Class ZoomableGlideImageKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit ZoomableGlideImage(Object model, String contentDescription, EnabledZoomGestures gestures, Modifier modifier, ZoomableImageState state, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, DoubleClickToZoomListener onDoubleClick, Boolean clipToBounds, PaddingValues contentPadding, MutableInteractionSource interactionSource, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilderTransform) A zoomable image that can be loaded by Glide and displayed using ZoomableImage.
      final static Unit ZoomableGlideImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding, MutableInteractionSource interactionSource, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilderTransform)
      final static Unit ZoomableGlideImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Boolean gesturesEnabled, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilderTransform, MutableInteractionSource interactionSource)
      final static Unit ZoomableGlideImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Boolean gesturesEnabled, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilderTransform)
      final static Unit ZoomableGlideImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Boolean gesturesEnabled, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilderTransform)
      final static Unit ZoomableGlideImage(Object model, String contentDescription, EnabledZoomGestures gestures, Modifier modifier, ZoomableImageState state, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, DoubleClickToZoomListener onDoubleClick, Boolean clipToBounds, PaddingValues contentPadding, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilderTransform)
      final static Unit ZoomableGlideImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilderTransform)
      final static Unit ZoomableGlideImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Boolean gesturesEnabled, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilderTransform)
      final static ZoomableImageSource glide(ZoomableImageSource.Companion $self, Object model, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilder) A zoomable image that can be loaded by Glide and displayed using ZoomableImage().
      • Methods inherited from class java.lang.Object

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

      • ZoomableGlideImage

        @Composable() final static Unit ZoomableGlideImage(Object model, String contentDescription, EnabledZoomGestures gestures, Modifier modifier, ZoomableImageState state, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, DoubleClickToZoomListener onDoubleClick, Boolean clipToBounds, PaddingValues contentPadding, MutableInteractionSource interactionSource, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilderTransform)

        A zoomable image that can be loaded by Glide and displayed using ZoomableImage.

        Example usages:

        ZoomableGlideImage(
          model = "https://example.com/image.jpg",
          contentDescription = …
        )
        
        ZoomableGlideImage(
          model = "https://example.com/image.jpg",
          contentDescription = …
        ) {
          it.thumbnail(…)
            .error(…)
            .transition(withCrossFade(1_000))
            .addListener(…)
        }

        See ZoomableImage for full documentation of parameters.

        Parameters:
        requestBuilderTransform - Used for applying image options to this composable's RequestBuilder.
      • ZoomableGlideImage

        @Composable() final static Unit ZoomableGlideImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding, MutableInteractionSource interactionSource, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilderTransform)
      • ZoomableGlideImage

        @Deprecated(message = Use the 'gestures' parameter instead. Replace `gesturesEnabled = true` with `gestures = ZoomInteractions.ZoomAndPan`, or `gesturesEnabled = false` with `gestures = ZoomInteractions.None`.)@Composable() final static Unit ZoomableGlideImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Boolean gesturesEnabled, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilderTransform, MutableInteractionSource interactionSource)
      • ZoomableGlideImage

        @Composable()@Deprecated(message = Kept for binary compatibility, level = DeprecationLevel.HIDDEN) final static Unit ZoomableGlideImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Boolean gesturesEnabled, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilderTransform)
      • ZoomableGlideImage

        @Composable()@Deprecated(message = Kept for binary compatibility, level = DeprecationLevel.HIDDEN) final static Unit ZoomableGlideImage(Object model, String contentDescription, EnabledZoomGestures gestures, Modifier modifier, ZoomableImageState state, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, DoubleClickToZoomListener onDoubleClick, Boolean clipToBounds, PaddingValues contentPadding, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilderTransform)
      • ZoomableGlideImage

        @Composable()@Deprecated(message = Kept for binary compatibility, level = DeprecationLevel.HIDDEN) final static Unit ZoomableGlideImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilderTransform)
      • ZoomableGlideImage

        @Composable()@Deprecated(message = Kept for binary compatibility, level = DeprecationLevel.HIDDEN) final static Unit ZoomableGlideImage(Object model, String contentDescription, Modifier modifier, ZoomableImageState state, Float alpha, ColorFilter colorFilter, Alignment alignment, ContentScale contentScale, Boolean gesturesEnabled, Function1<Offset, Unit> onClick, Function1<Offset, Unit> onLongClick, Boolean clipToBounds, DoubleClickToZoomListener onDoubleClick, PaddingValues contentPadding, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilderTransform)
      • glide

        @Composable() final static ZoomableImageSource glide(ZoomableImageSource.Companion $self, Object model, Function1<RequestBuilder<Drawable>, RequestBuilder<Drawable>> requestBuilder)

        A zoomable image that can be loaded by Glide and displayed using ZoomableImage().

        Example usage:

        ZoomableImage(
          image = ZoomableImageSource.glide("https://example.com/image.jpg"),
          contentDescription = …
        )
        
        ZoomableImage(
          image = ZoomableImageSource.glide("https://example.com/image.jpg") {
            it.thumbnail(…)
              .error(…)
              .transition(withCrossFade(1_000))
              .addListener(…)
          },
          contentDescription = …
        )