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 fed35e21..c681d133 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 @@ -2,6 +2,7 @@ package one.nem.lacerta.component.scanner; import android.os.Bundle; import android.util.Log; +import android.view.View; import androidx.activity.EdgeToEdge; import androidx.annotation.AnimatorRes; @@ -15,10 +16,16 @@ import com.websitebeaver.documentscanner.DocumentScanner; import javax.inject.Inject; import dagger.hilt.android.AndroidEntryPoint; +import one.nem.lacerta.utils.LacertaLogger; @AndroidEntryPoint public class ScannerManagerActivity extends AppCompatActivity { + @Inject + LacertaLogger logger; + + View view; + DocumentScanner documentScanner = new DocumentScanner( this, (croppedImageResults) -> { @@ -54,6 +61,15 @@ public class ScannerManagerActivity extends AppCompatActivity { documentScanner.startScan(); // Init + this.view = findViewById(R.id.main); // TODO-rca:なんとかする + + } + + private void initResultView() { + if (this.view == null) { + + return; + } } } \ No newline at end of file diff --git a/component/scanner/src/main/res/layout/activity_scanner_manager.xml b/component/scanner/src/main/res/layout/activity_scanner_manager.xml index 7d30e3e4..3ccab6b3 100644 --- a/component/scanner/src/main/res/layout/activity_scanner_manager.xml +++ b/component/scanner/src/main/res/layout/activity_scanner_manager.xml @@ -1,6 +1,7 @@