fun getFields(inState: Bundle?, obj: Any, keyPrefix: String? = null): Unit
For each field tagged with Storable, attempts to read the value from inState. Expected key is the name of the field, (unless overridden by Storable.name), optionally prefixed with keyPrefix.
Note that fields must be writable to Bundle - that includes most primitives like Float, Int and Byte, classes like String, and Parcelables. Attempts to tag unsupported classes will throw a runtime exception.
To set a default value for primitive types, use the Default annotation with the appropriate type parameter. Because inState is nullable, fields tagged with Default annotation will be initialized to specified default values if inState is null.