ilan Expert Licensed User Longtime User Oct 16, 2015 #1 hi, can someone explain whats the different between a modul and a class? thanx, ilan
Erel B4X founder Staff member Licensed User Longtime User Oct 16, 2015 #2 The class module is a template for creating any number of instances. The (static) code module is similar to a class module with a single instance. It is sometimes named singleton classes. In B4A, due to the way Android is built, code modules cannot handle events. In B4i and B4J code modules can handle events.
The class module is a template for creating any number of instances. The (static) code module is similar to a class module with a single instance. It is sometimes named singleton classes. In B4A, due to the way Android is built, code modules cannot handle events. In B4i and B4J code modules can handle events.