private void MaybeStartDemo()
 {
     if (activityResumed && player != null && thumbnailLoader != null && state == State.Uninitialized)
     {
         thumbnailLoader.SetPlaylist(PlaylistId);                 // loading the first thumbnail will kick off demo
         state = State.LoadingThumbnails;
     }
 }
 private void MaybeStartDemo()
 {
     thumbnailLoader.SetPlaylist(PlaylistId); // loading the first thumbnail will kick off demo
 }
 void YouTubeThumbnailView.IOnInitializedListener.OnInitializationSuccess(YouTubeThumbnailView view, IYouTubeThumbnailLoader loader)
 {
     this.thumbnailLoader = loader;
     thumbnailLoader.SetOnThumbnailLoadedListener(this);
     thumbnailLoader.SetPlaylist(PlaylistId);
 }