i am new to android and i am working on understanding the concept of parcelable used to transfer objects and complex data from one activity to other. But i am unable to understand how to use it and how to implement it in activity classes. Can someone please help me to understand this concept in detail and in simple way?
Thanx in advance.
Here is useful code snippet for class, that should implement
Parcelableinterface.Using such objects is simple enough. Add extra for intent:
Intent.putExtra(String name, Parcelable value), use this intent to start activity. InonCreatejust read it:getIntent().getParcelableExtra(String)