Search code examples
androidlistviewcustom-adapter

Calculating total amount


enter image description here

What I wants to calculate total amount when plus or minus button clicked of the listview row item and update the changes to the total please help me get out of this problem Thanks in advance


Solution

  • I Have solved this You just call a parent Method From the customadapter which perform your total calculation

    Like This ((ParentClass) context).TotalCalculationfunctionToRun(); from the custom adapter on the plus or minus button click respectively