I was following this answer and trying to adapt it to a List with no success.
The goal is to loop the Activity x amount of times and keep a list that moves a List of a custom Object I have preciously created.
what I am trying to do is:
var MySerializedObject = JsonConvert.SerializeObject(partList);
Intent intent = new Intent(this, typeof(ActComponentForm));
intent.PutExtra("partList", MySerializedObject);
And I try to use the intent doing:
List<Components.Component> listParted = new List<Components.Component>();
try
{
var MyJsonString = Intent.GetStringExtra("partList");
listParted = JsonConvert.DeserializeObject<List<Components.Component>>(MyJsonString);
}
With zero sucess as the list doesn't get returned.