1holder.delete.setOnClickListener(new View.OnClickListener() {
2 @Override
3 public void onClick(View v) {
4 openHelper.deleteProduct(shoppingCart.getId());
5 shoppingCartList.remove(position);
6 notifyItemRemoved(position);
7 }
8 });
9