[ad_1]
i think you shall move this line of code
textViewamount.setText(" "+getTotal(price));
to the end of onCreate methode
Custom_Trial ct = new Custom_Trial( this,sr1, item1, data, price);
listnew.setAdapter(ct);
getTotal(price);
textViewamount.setText(" "+getTotal(price));
1
[ad_2]
solved To get total price