Esempio n. 1
0
        public CipherViewCell()
        {
            InitializeComponent();
            _viewModel = _grid.BindingContext as CipherViewCellViewModel;

            _stateService       = ServiceContainer.Resolve <IStateService>("stateService");
            _environmentService = ServiceContainer.Resolve <IEnvironmentService>("environmentService");
        }
Esempio n. 2
0
 public CipherViewCell()
 {
     _environmentService = ServiceContainer.Resolve <IEnvironmentService>("environmentService");
     if (Device.RuntimePlatform == Device.iOS)
     {
         InitializeComponent();
         _viewModel = _grid.BindingContext as CipherViewCellViewModel;
     }
     else
     {
         _usingNativeCell = true;
     }
 }
Esempio n. 3
0
 public CipherViewCell()
 {
     InitializeComponent();
     _viewModel = _grid.BindingContext as CipherViewCellViewModel;
 }