Home Segments Index Top Previous Next

644: Mainline

Because an application's view manager has so many responsibilities, you can think of it as the hub that ties the entire application together. Accordingly, ViewManager subclasses typically have names that include the word application, and some programmers would prefer to use CalorieApplication, rather than CalorieViewManager, to name a subclass of the ViewManager class. Using CalorieViewManager has the virtue of identifying the class clearly as a subclass of the ViewManager class.