Esempio n. 1
0
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     if (e.Parameter is MediaReference)
     {
         movieInfo = (MediaReference)e.Parameter;
     }
     else
     {
         Frame.GoBack();
     }
     base.OnNavigatedTo(e);
 }
Esempio n. 2
0
        public ListMediaReference(MediaReference media) : base(media.id, media.original_title, media.mediaType)
        {
            dynamic d = MediaAccessor.getDetails(media.id, media.mediaType);

            init(media.id, media.original_title, media.mediaType, (string)d.poster_path, (string)d.backdrop_path);
        }