I am trying to pass the object or the arrayList from this fragment to another. I was using the Intent method but I had the same problem which I do not know what parameter should I put in bundle.putParcelable() method.
BlankFragment1 sendData = new BlankFragment1();
final Series s = new Series(itemName.getText().toString(),
Integer.parseInt(itemYear.getText().toString())
,Integer.parseInt(itemNumberofSeas.getText().toString()),
dropDown.getSelectedItem().toString());
Bundle bundle = new Bundle();
bundle.putParcelable(s);
sendData.setArguments(bundle);