private BandCloudManager() { Events = new ObservableCollection <BandEventViewModel>(); _cloud = new BandCloudClient(); _cloud.AuthenticationCompleted += _cloud_AuthenticationCompleted; Login(); }
public BandEventViewModel(BandCloudClient cloud, BandEventBase cloudEvent) { _cloud = cloud; Event = cloudEvent; if (Event is UserDailyActivity) { // this event type is considered "Loaded" already since we get all of the information // from the initial API call Loaded = true; } }
public BandEventViewModel(BandCloudClient cloud, BandEventBase cloudEvent) { _cloud = cloud; Event = cloudEvent; }