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 using version 3.2.0 in Java-based activity. The user can only select one icon at a time. How do I get a drawable/image of that selected icon in the method onIconDialogIconsSelected? I want to display the selected icon in an image view.
The text was updated successfully, but these errors were encountered:
Just use Icon.getDrawable() if the icons are already loaded (which is the case if they were shown in the dialog). This wil return a drawable that you can set on your image view.
You can also use IconPack.getIconDrawable(id, loader) if you're not sure if the icon pack is fully loaded yet, for example on application startup.
I am using version
3.2.0
in Java-based activity. The user can only select one icon at a time. How do I get a drawable/image of that selected icon in the methodonIconDialogIconsSelected
? I want to display the selected icon in an image view.The text was updated successfully, but these errors were encountered: