1. Create an customize object implements Serializable (Animal.java) :
2. Create another customize object implements Parcelable (Plant.java):
3. Create an activity which run when app start (put object through intent here):
- Simple layout like this (activity_root):
- Java code (RootActivity):
4. Create a destination activity to receiving object through intent (DestinationActivity):
5. Running app, we will have these screens:
(Sorry for ads at download link)