Мне нужно передать объект класса другому действию с помощью намерения. Вот мой код класса:
public class Model
{
private String Name;
private ArrayList<Trim> trim;
public String getName()
{
return Name;
}
public void setName(String Name)
{
this.Name = Name;
}
public ArrayList<Trim> getTrim()
{
return trim;
}
public void setTrim(ArrayList<Trim> trim)
{
this.trim = trim;
}
}