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

2.0.0-RC1 Improve callability from Java code #32

Open
grote opened this issue Oct 16, 2019 · 0 comments
Open

2.0.0-RC1 Improve callability from Java code #32

grote opened this issue Oct 16, 2019 · 0 comments

Comments

@grote
Copy link

grote commented Oct 16, 2019

The 2.0.0-RC1 has some issues if called by Java code. E.g. instead of the FabSpeedDial.OnMenuItemClickListener, there now a strange Function3 that you can't really implement:

Screenshot

There's a similar issue for addOnStateChangeListener(). You can't just do

speedDial.addOnStateChangeListener(open -> {
	if (open) doSomething()
});

Because open is not a boolean, but <lambda parameter>.

Please ensure that the library can still be used with Java before releasing.

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