Templates

B4xPage

Provides code for a standard B4xPage class with view definitions, methods example events and a map interface (as selected).

Class with Layout

Class with Layout is included as it can be useful when using Maps to load and save data. It keeps the data in logical blocks. the initial main layout will look similar to this:

Each pane is then passed to the initialization method for the created classes and the data is loaded using the FromMap method and saved using the ToMap Method.

Custom View

Provides code for a Custom View class with view definitions, methods example events and a map interface (as selected). The example code for Events is not necessarily going to be useful for a Custom View and can be turned off by selecting NoFillEvents or excluded all together by selecting NoEvents for each view.

Dialog Template

Provides code for a Dialog Template class.

B4A Main

Provides code for the B4A Main Module Activity.

B4J Main

Provides code for the B4J Main module

Note

It is important to note that the classes are not automatically created in a project. That needs to be done manually. You can then copy the generated code into the class.