How to pass an object to another Activity [duplicate]

1
    public class Despesa
    {
        private long id ;
        private Date data;
        private String local;
        private String endereco ;
        private String cnpj ;
        private LinkedList <Item> itens;
        private String URL ;

        public void buscarDespesa (Classificacao classificacao)
        { 

        }

        //MAIS OUTROS MÉTODOS


    }

    public class Item
    {
        private int id ;
        private Double preco;
        private String produto;
        private Classificacao classificacao;
        private Despesa despesa ;
        private Boolean isChecked ;
    }

public class Classificacao
{
    private int id ;
    private int cor ;
    private String nome ;
}

Given the gets and sets and constructor methods, how do I pass an Expense from one Activity to another on Android?

    
asked by anonymous 29.03.2018 / 03:34

0 answers