If class Product is compatible with parcelable protocol, following should work according to documentation.
products = new ArrayList<Product>();
in.readList(products, Product.class.getClassLoader());
If class Product is compatible with parcelable protocol, following should work according to documentation.
products = new ArrayList<Product>();
in.readList(products, Product.class.getClassLoader());