library / org.akop.kotx.tools / Bundler / Storable

Storable

@Target([AnnotationTarget.FIELD]) annotation class Storable

This annotation enables get/put operations for the field. Key when writing to Bundle is the name of the field itself, unless name is set to something other than empty string.

To specify defaults when getting primitive types, include a Default annotation as well.

Constructors

<init>

Storable(name: String = "")

This annotation enables get/put operations for the field. Key when writing to Bundle is the name of the field itself, unless name is set to something other than empty string.

Properties

name

val name: String