Skip to content

Feature - Change menu image depending on context #13

@roberthchapman

Description

@roberthchapman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions