public void addAddress(Address a) { addresses.Add(a); a.addChangedListener(this); notifyListeners(null, a.City); notifyListeners(null, a.Country); notifyListeners(null, a.Street); }
public void removeAddress(Address a) { a.removeChangedListener(this); notifyListeners(a.City, null); notifyListeners(a.Country, null); notifyListeners(a.Street, null); addresses.Remove(a); }