Beispiel #1
0
        public async Task <APIImage> getPhotoByDateID(string date, string id)
        {
            List <APIImage> images = await getPhotoListForDay(date);

            APIImage targetImage = null;

            foreach (APIImage image in images)
            {
                if (image.PhotoID.ToString().Equals(id))
                {
                    targetImage = image;
                }
            }

            return(targetImage);
        }
Beispiel #2
0
        private void PicList_ItemSelected(object sender, SelectedItemChangedEventArgs e)
        {
            APIImage image = e.SelectedItem as APIImage;

            Navigation.PushAsync(new PicImagePage(image.URL));
        }