T - The object class.public interface Bundler<T>
Bundle.| Modifier and Type | Method and Description |
|---|---|
T |
get(String key,
Bundle bundle)
Restore the value from the bundle.
|
void |
put(String key,
T value,
Bundle bundle)
Save the given value inside of the bundle.
|
void put(String key, T value, Bundle bundle)
key - The base key for this value. Each field of the value should have a separate key with this prefix.value - The object which should be saved in the bundle.bundle - The bundle where the value should be stored.