-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Menu icons or menu can't be changed programmatically #54
Comments
Hey @abduldblogger, Thanks for the detailed issue. Have you tried to use a |
Hi @JoaquimLey, thanks for replying, sorry I can't get it, how to use "selector", can you show some demo? |
You can google that :) |
ohh, got it, but that is basically used for buttons, that has some states, like focused, pressed, default etc, but how in menu? , I have 2 states only, either favorite or unfavorite, hence I have to used 2 different images (heart image), I hope you understood the issue... |
Yes it is possible hehe :) |
@abduldblogger Do you think I can close this issue? |
@JoaquimLey , that solution is when you press any menu item and then release, so you will see default and pressed state (different icons for example), for the moment when your thumb is on the menu, but afterward it will come back to normal on removing the touch, what I want to achieve is after pressing the menu item, change the menu icon permanently...I hope I am able to explain you For better understanding, this will be the change change icon in menu: |
Have you tried the solution with the selectors? |
First of all, thanks for making this fabulous library!
I am using version 1.2.0 and facing some issues:
I want to use menus to make an article favorite/ unfavourite, and then according to user input want to change status (icon) of the menu.
Thanks and Regards,
Abdul Aziz Ansari
The text was updated successfully, but these errors were encountered: