Skip to content
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

Feature - Change menu image depending on context #13

Open
roberthchapman opened this issue Feb 8, 2015 · 0 comments
Open

Feature - Change menu image depending on context #13

roberthchapman opened this issue Feb 8, 2015 · 0 comments

Comments

@roberthchapman
Copy link

Hi,

I have a feature request based on what I'm trying to change in the context menu at the moment. If you imagine that one context menu option is to favourite an item, then long pressing on a collection view item should bring up a favourite icon if its not in your favourites or else bring up an icon for removing the favourite if it is already one. At present, the control is built up only on initialisation so can't be changed in this way.

I've looked at adding in a call to reloadData and animateMenu in the long press gesture handler but this doesn't seem to work in terms of regenerating the menu and I'm not really clear why not.

Also if you gave me a pointer in the right direction I could try to complete it myself.

Many thanks,
Rob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant