Closed lofidewanto closed 4 years ago
All examples are working well, except the newest version of DominoUI:
This happens on both examples of DominoUI:
They have the same look and feel problems, see file attachment:
@vegegoku: Could you please take a look at this L&F problem? Thanks a lot!
See also: https://gitter.im/DominoKit/domino
Update to elemento-core 1.0.1, it uses Java 8 for backward compatibility. See: https://github.com/hal/elemento/issues/83
All examples updated as this GWT Boot modules: https://github.com/gwtboot/gwt-boot-modules/issues/13
A design problem in the example DominoUI with Dagger2:
todoItemsListGroup: https://github.com/gwtboot/gwt-boot-samples/blob/master/gwt-boot-sample-ui-domino-dagger2/src/main/java/com/github/gwtboot/sample/ui/domino/client/ui/HelloWorldView.java
Is there any way to take out:
.addClickListener(evt -> complete(listItem.getValue()))
from the
.setItemRenderer((listGroup, listItem) -> { ...
In the example with Dagger2 I need to separate the "UI layout" from the "View Logic" therefore I need to add the "addClickListener(...)
" later in my view logic.
In: doneItemsListGroup:
I could take it out because it doesn't add any Listener... See: https://github.com/gwtboot/gwt-boot-samples/blob/master/gwt-boot-sample-ui-domino-dagger2/src/main/java/com/github/gwtboot/sample/ui/domino/client/ui/HelloWorldUiBinder.java
.... how could I get the "listItem.getValue
" from outside the .setItemRenderer((listGroup, listItem) -> { ...
?
... or get the actual listItem
from the todoItemsListGroup
...?
Check and done!
... and all the examples should work properly with the new versions.