You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These parameters will override equivalent values set via
requestBuilderTransform if the parameters are non-null. If the
parameters are null, then we'll apply whatever is specified by
requestBuilderTransform. I plan to add similar explicit parameters
for other values settable via requestBuilderTransform over time with
similar override behavior unless someone objects.
The `fallback` on `RequestBuilder` is not replicated. Callers can use
`failure` or if/else to provide custom behavior for null models.
Similarly `loading` is only shown while the request is loading. Unlike
`RequestBuilder.placeholder`, `loading` will never be shown after the
load fail. `failure` should instead be used to explicitly duplicate the
`loading` behavior if that functionality is desired.
Copy file name to clipboardexpand all lines: integration/compose/api/compose.api
+8-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,14 @@ public abstract interface annotation class com/bumptech/glide/integration/compos
2
2
}
3
3
4
4
public final class com/bumptech/glide/integration/compose/GlideImageKt {
5
-
public static final fun GlideImage (Ljava/lang/Object;Ljava/lang/String;Landroidx/compose/ui/Modifier;Landroidx/compose/ui/Alignment;Landroidx/compose/ui/layout/ContentScale;FLandroidx/compose/ui/graphics/ColorFilter;Lkotlin/jvm/functions/Function1;Landroidx/compose/runtime/Composer;II)V
5
+
public static final fun GlideImage (Ljava/lang/Object;Ljava/lang/String;Landroidx/compose/ui/Modifier;Landroidx/compose/ui/Alignment;Landroidx/compose/ui/layout/ContentScale;FLandroidx/compose/ui/graphics/ColorFilter;Lcom/bumptech/glide/integration/compose/Placeholder;Lcom/bumptech/glide/integration/compose/Placeholder;Lkotlin/jvm/functions/Function1;Landroidx/compose/runtime/Composer;II)V
6
+
public static final fun placeholder (I)Lcom/bumptech/glide/integration/compose/Placeholder;
7
+
public static final fun placeholder (Landroid/graphics/drawable/Drawable;)Lcom/bumptech/glide/integration/compose/Placeholder;
8
+
public static final fun placeholder (Lkotlin/jvm/functions/Function2;)Lcom/bumptech/glide/integration/compose/Placeholder;
9
+
}
10
+
11
+
public abstract class com/bumptech/glide/integration/compose/Placeholder {
12
+
public static final field $stable I
6
13
}
7
14
8
15
public final class com/bumptech/glide/integration/compose/PreloadKt {
0 commit comments