The concept is the same as with the standard (non-Hamarin) application.
You can use Intent#putExtra(String, Parcelable) to pass any object that implements Parcelable as an extra.
The Parcelable interface Parcelable bit complicated, so be sure to read the documentation to make sure your class meets the requirements. You can also view this SO question for more information on creating a Parcelable class.
You cannot pass a reference to an object through Intent . This is due to the fact that actions are designed to work completely independently of each other. Users can throw your activity in the background while performing other tasks, so it is quite possible (and very likely) that your Activity variables will be garbage collected. When the user later returns to your activity, he should be able to recreate his state.
If you really need to pass a reference to an object directly, you can do this by making this object a static variable. Although this is a quick and dirty way to solve the problem of getting data from one action to another, it does not solve the problem of a variable, potentially representing garbage collected at some point, and, as a rule, a poor design choice.
source share