B4J Question How to add a custom list in the CustomView attribute declaration

yshzsl

Member
Generally, in the CustomView attribute declaration, when a list is required, the list items are listed one by one. As in the following code:
B4X:
#DesignerProperty: Key: ImageFile, DisplayName: ImageFile, FieldType:string, DefaultValue: shouru.png, List:shouru.png|shouzhifl.png
Now I want to add all the icon files in a particular directory to a List.
how to add this List to the property instead of listing list item by item.
Similar to this:
B4X:
#DesignerProperty: Key: ImageFile, DisplayName: ImageFile, FieldType:string, DefaultValue: shouru.png, List:List
 

yshzsl

Member
Thank you, Erel.
Thank you for taking time out of your busy schedule to give a reply. I feel very honored to get your reply.

In the attribute declaration for the custom view,When selecting the image file, I cannot use the intuitive list, so I feel a little regrettable. If you can add the image file list to the B4X (the image thumbnail on the left and the image name on the right), I think the B4X is more perfect.
Thank you again!
 
Upvote 0
Top