facebook twitter hatena line email

Java/

提供: 初心者エンジニアの簡易メモ
移動: 案内検索

bundle型

final Bundle bundle = new Bundle();
bundle.putString("name", "taro");
bundle.putInt("age", 30);
bundle.putBoolean("over20", true);
Log.i("test", "name=" + bundle.getString("name"));
Log.i("test", "age=" + bundle.getInt("age"));
Log.i("test", "over20=" + bundle.getBoolean("over20"));