Usuń jeden element z recyklingu listy
holder.delete.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
openHelper.deleteProduct(shoppingCart.getId());
shoppingCartList.remove(position);
notifyItemRemoved(position);
}
});
Doubtful Dragonfly