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

feat(android): collapse toolbar menu support #14093

Open
wants to merge 44 commits into
base: master
Choose a base branch
from

Conversation

Max87ZA
Copy link

@Max87ZA Max87ZA commented Aug 6, 2024

Adds support for toolbar's menu to Collapse toolbat
Usage:
Create your Collapse toolbar as usual and then add to your controller:

        $.collapsingToolbar.addMenuItem(0,` 'Item title',  false); 
        $.collapsingToolbar.setOnMenuItemClickListener(function(e) {
        Ti.API.info("e.menuItemId: "+e.menuItemId);
            switch (e.menuItemId) {
                case 0:
                   Ti.API.log("Menu 0 clicked");
                    break;
            }
        });

@m1ga
Copy link
Contributor

m1ga commented Aug 8, 2024

@Max87ZA can you start from a clean master branch? You branch has other changes so it's not only the collapse toolbar menu

@hansemannn
Copy link
Collaborator

@Max87ZA Quick ping, thx!

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

Successfully merging this pull request may close these issues.

3 participants