public void PopulateDisplay() { if (this.summaryDisplay == null) { VideoSummaryData videoSummaryData = new VideoSummaryData(0, this.uiName, this.videoId, this.thumbSize, this.style); VideoSummaryDisplay display = new VideoSummaryDisplay(this.parentScreen, videoSummaryData); this.SetSummary(videoSummaryData, display); Service.Get <EventManager>().RegisterObserver(this, EventId.UIVideosRefresh, EventPriority.Default); Service.Get <EventManager>().RegisterObserver(this, EventId.UIVideosSourceTypeResponse, EventPriority.Default); } this.QueryStart(); }
private void SetSummary(VideoSummaryData data, VideoSummaryDisplay display) { this.summaryData = data; this.summaryDisplay = display; }