public ZXingScannerViewController(ScanController controller) { _controller = controller; }
private void InitScreens() { _startScreenController = new StartScreenController(); _startScreenController.OnStartScanPressed += GoFromStartScreenToScanScreen; _startScreenViewController = new StartScreenViewController(_startScreenController); _scanController = new ScanController(); _scanController.ScanCanceled += GoFromScanScreenToStartScreen; _scanController.ScanCompletedWithResult += GoFromScanScreenToInfoScreen; _scannerViewController = new ZXingScannerViewController(_scanController); _exibitInfoController = new ExibitInfoController(_exibitInfoService); _exibitInfoController.ShowScanScreen += GoFromInfoScreenToScanScreen; _exibitInfoViewController = new ExibitInfoViewController(_exibitInfoController); }