item have quantity increment decrement
how can i calculate total price
after increment or decrement
?
loop through each item and add the price
as i understand you want to increase or decrease an int value by clicking on your recyclerview item. is it right?
Take the position of recyclerview view and also fecth the item then calculte count*single price and save it to your list specific position object and update the the recyclerview with itemchanged (position)
Обсуждают сегодня