コード例 #1
0
 public MvxImagePickerTask()
 {
     _modalHost = Mvx.Resolve <IMvxIosModalHost>();
     _picker    = new UIImagePickerController
     {
         //CameraCaptureMode = UIImagePickerControllerCameraCaptureMode.Photo,
         //CameraDevice = UIImagePickerControllerCameraDevice.Front
     };
     _picker.FinishedPickingMedia += Picker_FinishedPickingMedia;
     _picker.FinishedPickingImage += Picker_FinishedPickingImage;
     _picker.Canceled             += Picker_Canceled;
 }
コード例 #2
0
 public MvxImagePickerTask()
 {
     _modalHost = Mvx.Resolve<IMvxIosModalHost>();
     _picker = new UIImagePickerController
     {
         //CameraCaptureMode = UIImagePickerControllerCameraCaptureMode.Photo,
         //CameraDevice = UIImagePickerControllerCameraDevice.Front
     };
     _picker.FinishedPickingMedia += Picker_FinishedPickingMedia;
     _picker.FinishedPickingImage += Picker_FinishedPickingImage;
     _picker.Canceled += Picker_Canceled;
 }
コード例 #3
0
 public MyImagePickerTask()
 {
     _modalHost = Mvx.Resolve <IMvxIosModalHost>();
     _picker    = new UIImagePickerController
     {
         //CameraCaptureMode = UIImagePickerControllerCameraCaptureMode.Photo,
         //CameraDevice = UIImagePickerControllerCameraDevice.Rear
     };
     _picker.NavigationBar.Translucent = false;
     _picker.NavigationBar.TintColor   = UIColor.Blue;
     _picker.EdgesForExtendedLayout    = UIRectEdge.None;
     _picker.FinishedPickingMedia     += Picker_FinishedPickingMedia;
     _picker.FinishedPickingImage     += Picker_FinishedPickingImage;
     _picker.Canceled += Picker_Canceled;
 }
コード例 #4
0
        public void ScanCardInfo(Action <AddCreditCard> callback, CreditCardScanOptions creditCardScanOptions = null)
        {
            if (creditCardScanOptions == null)
            {
                creditCardScanOptions = new CreditCardScanOptions();
            }

            _callback              = callback;
            _modalHost             = Mvx.Resolve <IMvxIosModalHost>();
            _paymentViewController = new CardIOPaymentViewController()
            {
                GuideColor = new UIColor(255, 255, 255, 1.0f)//ColorFromHex(creditCardScanOptions.GuideColor)
            };

            _modalHost.PresentModalViewController(_paymentViewController, true);
        }
コード例 #5
0
 public MvxComposeEmailTask()
 {
     _modalHost = Mvx.Resolve<IMvxIosModalHost>();
 }
コード例 #6
0
 public MvxComposeEmailTask()
 {
     _modalHost = Mvx.Resolve <IMvxIosModalHost>();
 }
コード例 #7
0
 public SmsTask()
 {
     _modalHost = Mvx.Resolve<IMvxIosModalHost>();
 }
コード例 #8
0
 public SmsTask()
 {
     _modalHost = Mvx.Resolve <IMvxIosModalHost>();
 }
コード例 #9
0
 public MvxShareTask()
 {
     _modalHost = Mvx.Resolve<IMvxIosModalHost>();
 }
コード例 #10
0
ファイル: ShareService.cs プロジェクト: xNUTs/CodeBucket
		public ShareService()
		{
            _modalHost = Mvx.Resolve<IMvxIosModalHost>();
		}
コード例 #11
0
 public MvxShareTask()
 {
     _modalHost = Mvx.Resolve <IMvxIosModalHost>();
 }
コード例 #12
0
 public ShareService(IMvxIosModalHost modelHost)
 {
     _modalHost = modelHost;
 }
コード例 #13
0
 public ShareService()
 {
     _modalHost = Mvx.Resolve <IMvxIosModalHost>();
 }