New versions of MWT and Widget Libraries and Examples

Hello,

We updated the MWT and Widget libraries along with the Widget examples.

The new version of the MWT library (3.5.4) includes the following fix:

  • Fix a performance issue when attaching/showing a hierarchy of widgets (introduced in version 3.5.1).

The new version of the Widget library (5.2.0) includes the following features and fixes:

  • Add methods to move a SwipeEventHandler to the beginning or the end.
  • Allow to create a SwipeEventHandler with one item when not cyclic (previously throwing an IllegalArgumentException).
  • Fix SwipeEventHandler to avoid ignoring drags in the right orientation after dragging in the wrong orientation.
  • Fix SwipeEventHandler to avoid being stuck outside the limits.

The new version of the Widget examples (8.1.0) includes the following features and fixes:

  • Add methods to move the Scroll content to the beginning or the end.
  • Do not serialize (with callSerially()) the movements of the scroll anymore, but advise to call scrollTo() methods in the UI thread.
  • Run the carousel animation only when the pointer is pressed.
  • Use the content bounds instead of the full bounds to split the string in LineWrappingLabel.
  • Align all the lines of the LineWrappingLabel using the vertical alignment.

Happy coding!
The MicroEJ Team.