-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
More dynamic icons #138
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem?
I am loading some images from a remote server (using Glide), and I want to use them as icons in the spinner. The problem is that it takes time to load the images from the server, so right now I need to load all of the images, and only then add the items to the spinner. It would be much better if I could populate the spinner with text only, and then dynamically add the icons.
Describe the solution you'd like:
I'd like to have an option to dynamically set the icons, and as Glide works with
ImagesView
, a solution I am using for something else which I found quite friendly is to set the icons asImageView
s, and the have the library callImageView.getDrawable
on demand whenever an icon is done loading.Describe alternatives you've considered:
I've considered just building my own spinner with images, as I don't really need a complex spinner, just some basic text and icons.
The text was updated successfully, but these errors were encountered: