コード例 #1
0
        public MainPageViewModel(INavigation navigation)
        {
            // show loading
            //LoadData().Wait();

            this._navigation     = navigation;
            this.NavigateCommand = new Command(async() => await LaunchNextWindow(), () => IsPhotoPossible);

            // Local images instead of web api
            _entries = new ObservableCollection <ImageEntry>()
            {
                new ImageEntry()
                {
                    Text = "This is a test",
                    // Et billede af en banan i base64
                    SelectedSource = ConvertService.ImageFromBase64(@"/9j/4AAQSkZJRgABAQEAAAAAAAD/2wBDAAkGBxIREBAPEBEQEBAPEA8PDxAPEhAQDw8PFREWFhURFRUYHSggGBolHRUVITEhJSkrLi4uFx81ODMsNygtLiv/2wBDAQoKCg4NDhoQEBotJR8lLS0tLS0tLS0tLS0tLS0tLS0tLS0tKy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS3/wAARCAC3ARMDAREAAhEBAxEB/8QAHAAAAQUBAQEAAAAAAAAAAAAAAAECAwQFBgcI/8QAPRAAAQMCAwUECAUDAwUAAAAAAQACAwQRBSExEkFRYXEGMoGRExQiQlKhsdFiksHh8BUjcgczs0NTY3Oi/8QAGgEBAAMBAQEAAAAAAAAAAAAAAAECAwQFBv/EADURAAIBAgQEAQwCAQUAAAAAAAABAgMRBBIhMQUTQVGRFCIyQmFxgaGx0eHwUsEVIzNigvH/2gAMAwEAAhEDEQA/APcUAIAQAgBACAEBjdoe0tPRNBmd7Tu7G3N5HG24cyqyko7l4QlN6HNs/wBWKC9ntqGa5mNpHycpUky0qUomxQ9uaKbZLHuIcLg7Btz8klJJXZTKzfpalsjdphuNOYPAhE09ipMpAIAQAgBACAEAIAQAgBACAEAIAQAgBACAEAIAQAgBACAEAIAQAgBACAye02Ntoqd1Q9peAQ1rQQLvIOyCToLjn0USdiUrnz5j9W+Z81TUPc+Z52hY7LGg6Ma34W3sPBYZ8zOyKyoyNRzNyePMrRNIpJNmvS1noXMkjdmxzTsneScwfMjyWTbl5rE0rHsPZLGW+ljZezaiO7R+LLZvw3jyWdCTTszmsdwu0gEAIAQAgBAC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PHgvl8Vw6vh9Wrruv77fup6VLEQqbb9iESrgub2D0irciwhkU3Fhu2ouLDXPVWCJ7lUFdxQloaZANSmVvYoVpJTJkwXHE6L0cHw2tXd4rTu9jKrVhT33L2HYcGA2HtOsXOtmeA6BfY4XDRw9PIte7PMqVHN3ZpMo+S6TMkFAOCADhgO5AMOEMPujyQCDBGfCPJASswZvwhAWosMaNyAuR0QG5AWo4LICwxqAegFQAgBACAEAIAQAgBACAEAlkAxzUBVnjQGJW0AzIFjyy+S87EcLw1bVxs+60/BvTxNSHUy5Y5G7r/IryK3AKi/25p+/T7nXHHR9ZFd1SRq13lf6Lz58IxcfUv7mmbLE0n1GGvb06ghczwdeO8JeDNFUg+qIn4m3iqeTVOz8C2ZdyN2JNOlz0F1pHBVpbRfgyrqRW7InVEju6w9Tku+jwbET3Vl7f25lPFU49bixYfI83eT03L28NwijS1n5z+XgcVTFzltobdHh9rL1kraI5TXp6WyAushQEghQDhEgFESAcIUBI2FAPEaAcGIB1kAtkAqAEAIAQAgBACAEAIAQAgBACAQhAMexAVpIboCtJRgoCu/DxwQELsMbwCAYcKbwCAQYW3gEBI3DRwCAlZQgICxHTAICyyJASBiAdsoBQ1AODUA4NQC2QC2QCoAQAgBACAEAIAQAgP/Z")
                },

                new ImageEntry()
                {
                    Text           = "This is a test also",
                    SelectedSource = ConvertService.ImageFromBase64(@"/9j/4AAQSkZJRgABAQEAAAAAAAD/2wBDAAkGBxIREBAPEBEQEBAPEA8PDxAPEhAQDw8PFREWFhURFRUYHSggGBolHRUVITEhJSkrLi4uFx81ODMsNygtLiv/2wBDAQoKCg4NDhoQEBotJR8lLS0tLS0tLS0tLS0tLS0tLS0tLS0tKy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS3/wAARCAC3ARMDAREAAhEBAxEB/8QAHAAAAQUBAQEAAAAAAAAAAAAAAAECAwQFBgcI/8QAPRAAAQMCAwUECAUDAwUAAAAAAQACAwQRBSExEkFRYXEGMoGRExQiQlKhsd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AQAgBACAQhAMexAVpIboCtJRgoCu/DxwQELsMbwCAYcKbwCAQYW3gEBI3DRwCAlZQgICxHTAICyyJASBiAdsoBQ1AODUA4NQC2QC2QCoAQAgBACAEAIAQAgP/Z")
                }
            };
        }
コード例 #2
0
        private async Task LoadData()
        {
            var imagesEncoded = await ApiService.GetImagesConverted();

            var images = new ObservableCollection <ImageEntry>();

            foreach (var image in imagesEncoded)
            {
                var source = ConvertService.ImageFromBase64(image.ImageConverted);
                var text   = image.Text;
                images.Add(new ImageEntry()
                {
                    Text = text, SelectedSource = source
                });
            }

            _entries = images;
        }