public class PanierClassInfo implements Parcelable{
protected PanierClassInfo(Parcel in) {
quantity = in.readInt();
comment = in.readString();
}
}
Intent intent=new Intent(RestaurantClickedActivity.this, CheckOutActivity.class);
Bundle args = new Bundle();
args.putParcelableArrayList("ARRAYLIST",listPanier);
intent.putExtra("BUNDLE",args);
startActivity(intent);
List<PanierClassInfo> questions = new ArrayList<PanierClassInfo>();
Intent intent = getIntent();
Bundle args = intent.getBundleExtra("BUNDLE");
questions = args.getParcelableArrayList("ARRAYLIST");