Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mhozza opened this issue Jun 3, 2024 · 0 comments
Open

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

mhozza opened this issue Jun 3, 2024 · 0 comments

Comments

@mhozza
Copy link

mhozza commented Jun 3, 2024

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(...)
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant