/*
         * // TODO call a setMedia method from CardMediaCarouselPage!!!!
         * public void initialize(CardMediaCarouselPage cardMediaCarouselPage)
         * {
         *  this.cardMediaCarouselPage = cardMediaCarouselPage;
         * }
         */

        protected override async Task handleImageTapped(MediaContentType mediaType)
        {
            AbMediaContent otherMedia = await MediaCaptureUtilities.takeMedia(mediaType, base.card, base.parentPage);

            if (otherMedia != null)
            {
                LinkManager linkManager;

                if (card != null)
                {
                    linkManager = card.linkManager;
                }
                else
                {
                    linkManager = MediaManager.mediaLinkManager;
                }

                linkManager.addLink(this.rootMedia, otherMedia);

                if (card != null)
                {
                    card.saveToFile();
                }
                else
                {
                    MediaManager.saveMediaLinkManager();
                }
            }
        }
 protected virtual async Task handleImageTapped(MediaContentType mediaType)
 {
     await MediaCaptureUtilities.takeMedia(mediaType, card, parentPage);
 }