MaterialFabSpeedDial icon indicating copy to clipboard operation
MaterialFabSpeedDial copied to clipboard

2.0.0-RC1 Improve callability from Java code

Open grote opened this issue 6 years ago • 0 comments

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.

grote avatar Oct 16 '19 14:10 grote