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
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 as ImageViews, and the have the library call ImageView.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:
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: