public HomePage(InUserSingleton userSingleton) { _userSingleton = userSingleton; user = userSingleton.getUser(); parties = userSingleton.getParties(); if (userSingleton.getActiveParty() != null) { activeParty = userSingleton.getActiveParty().copy(); } }
public UserPage(InUserSingleton userSingleton) { _userSingleton = userSingleton; user = userSingleton.getUser(); parties = userSingleton.getParties(); if (userSingleton.getActiveParty() != null) { activeParty = userSingleton.getActiveParty().copy(); } if (_userSingleton.getSearchResult() != null) { SearchedPeople = _userSingleton.getSearchResult(); } }
public CreatePartyPage(InUserSingleton userSingleton) { _userSingleton = userSingleton; user = userSingleton.getUser(); parties = userSingleton.getParties(); activeParty = userSingleton.getActiveParty(); }
public EditPartyPage(InUserSingleton userSingleton) { _userSingleton = userSingleton; user = userSingleton.getUser(); parties = userSingleton.getParties(); activeParty = userSingleton.getActiveParty(); // _userSingleton.setActiveParties(activeParty); }