ViewController

In package com.nhaarman.acorn.android.presentation

class com.nhaarman.acorn.android.presentation.ViewController

A Container specialization that acts as a wrapper around a View.

The term 'ViewController' here is used in the sense that it acts as a bridge between a Scene and a View, being some sort of 'controller' of the view.

When creating a ViewController, the view property must reference the root of the scene layout.

Fields

abstract view:

The root View of the scene that can be used to control the contents of the View.

This property must return the root of the scene layout.