正在加载图片...
Bundle The Bundle class provides a container for storing data using a key- value pair(string values to various Parcelable types)mechanism void putFloat(String key,float value) /Inserts a float value into the mapping of this Bundle,replacing any existing value for the given key. void putFloatArray(String key,float[]value) /Inserts a float array value into the mapping of this Bundle,replacing any existing value for the given key. void putInt(String key,int value) /Inserts an int value into the mapping of this Bundle,replacing any existing value for the given key. void putIntArray(String key,int[]value) /Inserts an int array value into the mapping of this Bundle,replacing any existing value for the given key. void putstring(String key,String value) /Inserts a String value into the mapping of this Bundle,replacing any existing value for the given key. void putstringArray(String key,String[]value) /Inserts a String array value into the mapping of this Bundle,replacing any existing value for the given key. Class reference:http://developer.android.com/reference/android/os/Bundle.html 12 Bundle • The Bundle class provides a container for storing data using a key￾value pair (string values to various Parcelable types) mechanism 12 void putFloat(String key, float value) // Inserts a float value into the mapping of this Bundle, replacing any existing value for the given key. void putFloatArray(String key, float[] value) // Inserts a float array value into the mapping of this Bundle, replacing any existing value for the given key. void putInt(String key, int value) // Inserts an int value into the mapping of this Bundle, replacing any existing value for the given key. void putIntArray(String key, int[] value) // Inserts an int array value into the mapping of this Bundle, replacing any existing value for the given key. void putString(String key, String value) // Inserts a String value into the mapping of this Bundle, replacing any existing value for the given key. void putStringArray(String key, String[] value) // Inserts a String array value into the mapping of this Bundle, replacing any existing value for the given key. Class reference: http://developer.android.com/reference/android/os/Bundle.html
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有