Package 

Class ImageLoad

  • All Implemented Interfaces:

    
    public final class ImageLoad
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> Unit ImageLoad(T recomposeKey, SuspendFunction0<Flow<ImageLoadState>> executeImageRequest, Modifier modifier, Function2<BoxScope, ImageLoadState, Unit> content) A common image loading model for fetching an image asynchronously and run composable for displaying the image.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • ImageLoad

         final static <T extends Any> Unit ImageLoad(T recomposeKey, SuspendFunction0<Flow<ImageLoadState>> executeImageRequest, Modifier modifier, Function2<BoxScope, ImageLoadState, Unit> content)

        A common image loading model for fetching an image asynchronously and run composable for displaying the image.

        Parameters:
        recomposeKey - request to execute image loading asynchronously.
        executeImageRequest - suspending lambda to execute an image loading request.
        modifier - adjust the drawing image layout or drawing decoration of the content.
        content - the image content to be loaded from executing for given states.