Show list of images in dropdown list


#1

Hi, i want to show images in dropdown list, for example list of flags to choose language on app. When i set array of images as source of dropdown selected index are not showing image, instead it ahows string: image(32).

How can it be done?


#2

You can use the DropDown plugin, but you will have to customize it a bit for supporting images.

iOS: You can will have to customize the section below using a custom delegate to show your own view with image and text.

Android: You can will have to customize the section below with your own.

Or you may entirely build your own plugin based on these libraries

https://developer.android.com/guide/topics/ui/controls/spinner.html


#3

thanks again i will try to write my own