ActivityController

In package com.nhaarman.acorn.android.presentation

class com.nhaarman.acorn.android.presentation.ActivityController

A Container specialization that can be used to dispatch Scenes as Activities.

Methods

abstract fun createIntent():

Creates the Intent that can be used to start the Activity.

Parameters:
  • No parameters
abstract fun onResult(resultCode: Int, data: ?)

Called when the Activity started with the Intent provided by createIntent finishes.

Parameters:
  • resultCode: Int
  • data: ?