예제 #1
0
 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();
 }
예제 #2
0
 private void SetSummary(VideoSummaryData data, VideoSummaryDisplay display)
 {
     this.summaryData    = data;
     this.summaryDisplay = display;
 }