NavigatorState

In package com.nhaarman.acorn.state

class com.nhaarman.acorn.state.NavigatorState

Methods

abstract operator fun set(key: String, value: SceneState?)
Parameters:
abstract operator fun set(key: String, value: NavigatorState?)
Parameters:

Extensions

inline operator fun <T : Any> SavedState.get(key: String): T?

Retrieves the value for given key and tries to cast it as a T.

If the value for given key is not of type T, null will be returned.

Parameters:
  • key: String
fun SavedState.toBundle():
Parameters:
  • No parameters