So I currently have an employee model and I want to include something like a list of the employee's "position" or post. I looked for how to do this but there doesn't seem to a pretty way so that I could pass the Serializable model through a Intent Bundle.
This is my current model.
public class EmployeeDetails implements Serializable {
    int id, status, roleType;
    String firstName, lastName, passcode, email;
    int[] assignedTables;
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public int getRoleType() {
        return roleType;
    }
    public void setRoleType(int roleType) {
        this.roleType = roleType;
    }
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public int getStatus() {
        return status;
    }
    public void setStatus(int status) {
        this.status = status;
    }
    public String getFirstName() {
        return firstName;
    }
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }
    public String getLastName() {
        return lastName;
    }
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }
    public String getPasscode() {
        return passcode;
    }
    public void setPasscode(String passcode) {
        this.passcode = passcode;
    }
    public int[] getAssignedTables() {
        return assignedTables;
    }
    public void setAssignedTables(int[] assignedTables) {
        this.assignedTables = assignedTables;
    }
}
The suggested post is a plain Arraylist and I already know how to use that. What I want is to pass a Serializable that contain an ArrayList. I wanted to change that int[] into a ArrayList.
 
     
    