Class From Layout
Overview
Class from layout is a tool to provide a basic class from a layout file, to save time creating the boiler plate yourself. It was in development before Erel released the new Layout to Json utility. Using that makes it more stable as it was originally based on Designer scripts.
It is not intended to create 100% working classes, but basic boilerplate with view definitions and simple methods and events. It can also provide a Map interface and constants for updating and obtaining the current state of the data in the class.
It provides templates for:
- B4xPage
- Class with Layout
- CustomView
- Dialog Template
- B4A Main (Activity)
- B4J Main (Code Module)
Class From Layout makes no changes to the Json Layout or Project files.
Currently supports B4J and B4A. It should be able to work with B4I, but I can't create the data files required (see the InitialData code module).