In the past i used the sub
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
B4X:
public void _initialize(BA ba, Object arg1, String EventName) {
}
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