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

Click listener not working for custom layout #65

Open
Gkemon opened this issue Nov 14, 2020 · 2 comments
Open

Click listener not working for custom layout #65

Gkemon opened this issue Nov 14, 2020 · 2 comments

Comments

@Gkemon
Copy link

Gkemon commented Nov 14, 2020

No description provided.

@Gkemon
Copy link
Author

Gkemon commented Nov 14, 2020

But I made a quick fix by it -

val droppyBuilder = DroppyMenuPopup.Builder(context, view)
val menu= DroppyMenuCustomItem(R.layout.action_menu_today_active).apply { isClickable = true }

@shehabic
Copy link
Owner

shehabic commented Dec 6, 2020

For custom views you have to set it on the view you add, viewYouAdded.setOnClick......

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

2 participants