Logic for a View
When you generate sources for a Mobile Project, Mobile Development generates a Java class named view_nameControllerImpl.java in the src.package_name.ui.controller.impl package. For example, if you assigned the view the name “MyView” and the package name “com.mycompany”, Mobile Development generates MyViewControllerImpl.java in the src.com.mycompany.ui.controller.impl package.
Add business logic for a view to the view_nameControllerImpl.java file.
When initially generated, the
view_nameControllerImpl.java file contains several methods that are commented out that you might want to uncomment and implement. For more information, see
Common Methods to Override in the Generated
Code for a View.
Related Topics