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