public ActivityViewModel (MusicClient client, AuthHelper authHelper) { this._mixRadioClient = client; this._authHelper = authHelper; this.Artists = new ObservableCollection<Artist> (); this.Tracks = new ObservableCollection<UserEvent> (); }
public App(IAuthPlatformSpecific platformSpecificAuth, string appVersion, IUriLauncher uriLauncher) { this.MixRadioClient = new MusicClient (ApiKeys.ClientId); this.AuthHelper = new AuthHelper (platformSpecificAuth, this.MixRadioClient); this.ActivityViewModel = new ActivityViewModel (this.MixRadioClient, this.AuthHelper); this.AppVersion = appVersion; this.UriLauncher = uriLauncher; this.MainPage = new RootPage (); }