I am trying to show list of images in Preference
, i can make it using ListPreference
but want to show without Dialog.
I tried the link, but getting
ClassCastException
.
It should work dynamically else i can customize each preference and add it, but that would be poor.
Please see the attached sample image.
Any Help/Suggestion would be highly appreciable.
Updated.
I can create each custom Preference
class to show images, but as i have 5 images need to be created different classes. See the Output attached image. Is there any alternate way to make it dynamically instead of static way?