glide icon indicating copy to clipboard operation
glide copied to clipboard

[Compose] Expose Glide loading status as an observable state.

Open mhozza opened this issue 8 months ago • 0 comments

Issue details / Repro steps / Use case background:

We would like to show / hide some other UI based on the glide loading status. It would be great if Glide could expose observable loading state that could be used for this:

API Example:

val glideState = rememberGlideState()

GlideImage(glideState, ...)

if(glideState.status == Status.SUCCEEDED) {
  ShareButton(...)
}

mhozza avatar Jun 03 '24 10:06 mhozza