"The final conclusion of Android Team is that Serializable in JAVA is far too slow to satisfy Android’s interprocess-communication requirements. So the team built the Parcelable solution". Just read this sentence is enough to forget Serializable mechanism. But, I want to show you how the faster is Parcelable in comparison with Serializable. We are going to measure the time it takes to pass a structure in Android using the intent when we start a new activity.
We have around 340 nodes into ArrayList structure. Each node is a simple class that contains two String attributes and one Double attribute.(more…)