How to pass an array of Address objects to an other Acitvity
问题 I'm trying to pass an array of Address objects to another Activity through an Intent object. As the Address class implements the Parcelable interface I try to do the following. I got a List Address object from a Geocoder object, which I convert into a array of Address objects. Then I put this array into the Intent and call the activity. final Address[] addresses = addresseList.toArray(new Address[addresseList.size()]); final Intent intent = new Intent(this, SelectAddress.class); intent