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

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