I am new to android programming, and I am trying to send an array of custom objects to a different activity. In the first activity I have a function that creates an intent and adds the array of objects to it:
public void openSchedule() {
Intent nextScreen = new Intent(getApplicationContext(), Schedule.class);
nextScreen.putExtra("array", tasks);
startActivity(nextScreen);
}
However, I'm not sure how to get that data at the next screen.
Is there any way to get that array in the code for the next activity even though "tasks" is an array of custom objects?