How pass ArrayList from one class to another in Android?

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.
 

Tìm kiếm

Back
Top