Удалить один элемент из List Recycleview
holder.delete.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
openHelper.deleteProduct(shoppingCart.getId());
shoppingCartList.remove(position);
notifyItemRemoved(position);
}
});
Doubtful Dragonfly