I am working on a new Android project and am using the new Architecture components but could use some help in some scenarios, as I do not understand the best solution.
I have an object such as below
public class Team {
String name;
String location;
List<User> users;
}
public class User {
String firstName;
String lastName;
}
For the ViewModel should the mutableLiveData be the Team object or each individual property, the same for the users, I will be updating and users and wonder if how I should observe those changes
` that `Team` would compare to. Is there an established pattern to address this sort of need?