Hoàng Diễm Quỳnh
New member
How pass ArrayList from one class to another in Android?
Answer
You can pass an ArrayList
<E> the same way, if the E type is Serializable . You would call the putExtra (String name, Serializable value) of Intent to store, and getSerializableExtra (String name) for retrieval.
Answer
You can pass an ArrayList
<E> the same way, if the E type is Serializable . You would call the putExtra (String name, Serializable value) of Intent to store, and getSerializableExtra (String name) for retrieval.