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 ;
}
Considering the gets methods and sets and constructor, how do I pass an Expense from one Activity to another on Android ?
If it is not of this must be of some other. If it is not of any, it is a very canonical question.
– Piovezan