Android Question Icon chooser

ciprian

Active Member
Licensed User
Longtime User
Hi there. In my app, i wish to let the user change icons from a file and use it into a list. What is the best way to do it and have something like the image from ahaShareLibrary in here?

Thank you.

Capture.PNG
 
Hi ciprian,
If you could succeed it,please share your completely coding. I need to learn this.
Thank you in advance.
P.S. I would like to ask as same as this,but I don't know how to ask.
 
Upvote 0
This cannot be done with ContentChooser. You will need to implement a chooser in your code.

You can use CustomListView class and add the icons from File.DirAssets.

Could I use AHDashboard library instead of customListView?
 
Upvote 0
I think the best way to do it is to create a panel, inside we create some buttons with .png images as button_background.
When the user want to choose an icon, we set the pannels visibility = true, and when it click onto a btton, we have a sub...sub_buttonclicked for exemple, and we set the icon .png as icon into our object.
I will try a litle exemple when i will have some spare time....
 
Upvote 0
Thank you,I will do as yours.
 
Upvote 0
I think that it's very simple strategy. Is there any better strategies?
 
Upvote 0
I think that my post #2 it could do as same as your done. I'm busy to test it. I'm in hospital.
 
Last edited:
Upvote 0
Back
Top