ContainerState

In package com.nhaarman.acorn.state

class com.nhaarman.acorn.state.ContainerState

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