コード例 #1
0
        async void ControlsOverlayView_TakeButtonTouched(object sender, EventArgs e)
        {
            var image = await cameraPreview.TakeButtonTapped();

            Photos.Add(image);

            takenPhotosOverlayView.Hidden = !TakenImagesThumbnailVisible;
            takenPhotosOverlayView.ReloadData();
            multiPhotoSelectorView.ReloadData();

            SetNeedsDisplay();

            controlsOverlayView.SetSendVisibility(takenPhotosOverlayView.Photos.Count > 0);
            controlsOverlayView.SetTakeVisibility(takenPhotosOverlayView.Photos.Count < MaxImageCount);
        }
コード例 #2
0
 public void ReloadData()
 {
     takenPhotosOverlayView.ReloadData();
 }