giggetto71 Active Member Licensed User Longtime User Apr 26, 2020 #1 Hi guys! I went though the great preference dialog example by Erel. I would need to make a modification but I am not sure if that is possible . Basically instead of the cities I have a txt file including the materialicons-webfont.txt file from this other great example about material icons and I would like to configure the dialog in a way that instead of the list of cities it displays the icons included in the meterial icon txt file for the user to pick. I can do that with conventional code (reading the file in a map and then filling a listview etc) but I have no idea how to do that (if it is possible of course..) with this preference dialog. That would be fantastic. Can someone help?
Hi guys! I went though the great preference dialog example by Erel. I would need to make a modification but I am not sure if that is possible . Basically instead of the cities I have a txt file including the materialicons-webfont.txt file from this other great example about material icons and I would like to configure the dialog in a way that instead of the list of cities it displays the icons included in the meterial icon txt file for the user to pick. I can do that with conventional code (reading the file in a map and then filling a listview etc) but I have no idea how to do that (if it is possible of course..) with this preference dialog. That would be fantastic. Can someone help?
Erel B4X founder Staff member Licensed User Longtime User Apr 27, 2020 #2 You shouldn't use PreferenceDialog for this. Use B4XDialog with B4XListTemplate and add them as CSBuilder. Or create a custom dialog with B4XDialog. Upvote 0
You shouldn't use PreferenceDialog for this. Use B4XDialog with B4XListTemplate and add them as CSBuilder. Or create a custom dialog with B4XDialog.