From 4158faf453b095d98cb9424c4c1bfcd4617d96e2 Mon Sep 17 00:00:00 2001 From: r-ca Date: Mon, 29 Jan 2024 04:26:22 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=B3=E3=82=B9=E3=83=88=E3=83=A9?= =?UTF-8?q?=E3=82=AF=E3=82=BF=E3=82=A4=E3=83=B3=E3=82=B8=E3=82=A7=E3=82=AF?= =?UTF-8?q?=E3=82=B7=E3=83=A7=E3=83=B3=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scanner/ScannerManagerActivity.java | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java index 66b8dc1e..8275e88e 100644 --- a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java +++ b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java @@ -44,21 +44,25 @@ public class ScannerManagerActivity extends AppCompatActivity { String TAG = "ScannerManagerActivity"; - @Inject LacertaLogger logger; - @Inject Document document; - @Inject LacertaLibrary lacertaLibrary; - @Inject DocumentProcessorFactory documentProcessorFactory; - @Inject LacertaVcsFactory lacertaVcsFactory; + @Inject + public ScannerManagerActivity(LacertaLogger logger, Document document, LacertaLibrary lacertaLibrary, DocumentProcessorFactory documentProcessorFactory, LacertaVcsFactory lacertaVcsFactory) { + this.logger = logger; + this.document = document; + this.lacertaLibrary = lacertaLibrary; + this.documentProcessorFactory = documentProcessorFactory; + this.lacertaVcsFactory = lacertaVcsFactory; + } + // Variables private ArrayList croppedImages = new ArrayList<>(); @@ -253,6 +257,8 @@ public class ScannerManagerActivity extends AppCompatActivity { finish(); }); })); + dialog.setTitle("追加するドキュメントを選択"); + dialog.show(getSupportFragmentManager(), "LacertaFilePickerDialog"); } private void updateResultView(ArrayList resultImages) {