Java Question New beta 4.2 of b4j - Question about innerinitialize

DonManfred

Expert
Licensed User
Longtime User
In the past i used the sub
B4X:
    public void _initialize(BA ba, Object arg1, String EventName) {
    }
to do the work.. Here i did initialize the library and bind my wrapper to the object.
In the example source of the ControlsFX Controls i now saw this innerinitialize.

I guess i need to change my libs to match the "new behaviour" (at least for me) additional to the new DesignerCreateView you provided???

I also noticed that you first check for an eventsub existence and only if so you add the listener....
In the past i checked the sub just whn the event should be raised.

But i see the advantage of using the check you did! I will change my code acordingly as it is a good idea
 
Top