In package com.nhaarman.acorn.android.presentation
class com.nhaarman.acorn.android.presentation.ActivityControllerFactory
A factory interface that can create ActivityController instances for Scenes.
Methods
abstract fun supports(sceneKey: SceneKey): Boolean
Returns true
when this ActivityControllerFactory can create an
ActivityController when activityControllerFor is called.
If this method returns false for a specific SceneKey, no calls to
activityControllerFor with the same SceneKey must be made.
Parameters:
-
sceneKey: SceneKey
abstract fun activityControllerFor(scene: Scene, context: ): ActivityController
Creates an ActivityController for given Scene key.
Parameters: