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

Sub Button Click Listener #69

Closed
Aditya-Sh opened this issue Dec 24, 2016 · 6 comments
Closed

Sub Button Click Listener #69

Aditya-Sh opened this issue Dec 24, 2016 · 6 comments

Comments

@Aditya-Sh
Copy link

Aditya-Sh commented Dec 24, 2016

I am trying to implement BoomMenuButton.OnSubButtonClickListener in an activity. But its not able to find OnSubButtonClickListener. Using version 2.0.4

@Nightonke
Copy link
Owner

Hey.
OnSubButtonClickListener is deleted in new version(2.0.0 and above). Try this.

@Aditya-Sh
Copy link
Author

@Nightonke Thanks for the update. Can I implement it on an activity level.
Something like below?
public class MyActivity implements BoomMenuButton.OnBMClickListener {}

@Nightonke
Copy link
Owner

No, you cannot. If you want to use Activity implements, you have to use Activity implements BoomMenuButton.OnBoomListener but not OnBMClickListener.

@Aditya-Sh
Copy link
Author

@Nightonke I'll try that.
Thank you for this great module.

@Aditya-Sh
Copy link
Author

@Nightonke I am not able to reference BoomMenuButton.OnBoomListener, OnBoomListener method is not being referenced here.

Also it seems that TYPES are removed in new version. I think there are new methods for old stuff I guess.

@Nightonke
Copy link
Owner

Yes, the new version changes lots of codes. Please read the wiki for listener or the example code for details.

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