Posts by Daniel • 13 points
3 posts
-
0
votes2
answers105
viewsQ: Change Textview with Listview event
I would like to change the total value whenever an item is changed... Class that sums up: public class Somar { private List<Carrinho_Item> lista; private double total = 0; public…
-
0
votes1
answer30
viewsQ: Remove item from an Adapter class
I’m trying to remove the listview item, but when I test the app does nothing... My class Productoadapter: public class ProdutoAdapter extends ArrayAdapter<Carrinho_Item> { private Context…
-
0
votes1
answer120
viewsQ: Make the Tostring() method return two fields separately from a typed object
I need to get the Tostring function to return the size and color separately, as I am filling a spinner with them. A spinner is filled with colors and another with size. However if I put: public…