最終更新:2021-10-19 (火) 11:59:10 (913d)
android.os.Bundle
Top / android.os.Bundle
A mapping from String values to various Parcelable types.
public final class Bundle extends BaseBundle? implements Cloneable? Parcelable
https://developer.android.com/reference/android/os/Bundle
親クラス
いろいろ入れられる
- final Bundle bundle = new Bundle();
- bundle.putString("hoge", "hoge");
- bundle.putInt("fuga", 3);
- bundle.putBoolean("is_hage", true);
- bundle.putSerializable
- bundle.putParcelable
メソッド
キー
- Bundle.containsKey?
- Bundle.keySet
- Bundle.remove?