public class BundlerListParcelable extends Object implements Bundler<List<? extends Parcelable>>
| Constructor and Description |
|---|
BundlerListParcelable() |
| Modifier and Type | Method and Description |
|---|---|
List<? extends Parcelable> |
get(String key,
Bundle bundle)
Restore the value from the bundle.
|
void |
put(String key,
List<? extends Parcelable> value,
Bundle bundle)
Save the given value inside of the bundle.
|
public void put(@NonNull String key, @NonNull List<? extends Parcelable> value, @NonNull Bundle bundle)
Bundlerput in interface Bundler<List<? extends Parcelable>>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.@Nullable public List<? extends Parcelable> get(@NonNull String key, @NonNull Bundle bundle)
Bundlerget in interface Bundler<List<? extends Parcelable>>key - The base key for this value. Each field of the value should have a separate key with this prefix.bundle - The bundle in which the value is stored.