Bundle 的两个常用方法

 

        public Set keySet ()

        Since:   API Level 1

       Returns a Set containing the Strings used as keys in this Bundle.

    Returns
  •  a Set of String keys
-                                                                                -                                    -

public Object get (String key)

Since:   API Level 1

Returns the entry with the given key as an object.

Parameters
key a String key
Returns
  • an Object, or null

你可能感兴趣的:(Android)