From de668412fc8e103139a976de1b2ff501844f92f3 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 7 Jan 2024 17:55:39 +0900 Subject: [PATCH] WIP --- .../scanner/ScannerDataManagerStubFragment.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDataManagerStubFragment.java b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDataManagerStubFragment.java index 4fc8a0c0..a75d98ae 100644 --- a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDataManagerStubFragment.java +++ b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDataManagerStubFragment.java @@ -31,6 +31,7 @@ import java.util.Locale; import javax.inject.Inject; +import one.nem.lacerta.model.document.DocumentDetail; import one.nem.lacerta.processor.DocumentProcessor; import one.nem.lacerta.processor.factory.DocumentProcessorFactory; @@ -132,7 +133,8 @@ public class ScannerDataManagerStubFragment extends Fragment { view.findViewById(R.id.button_create_documnent).setOnClickListener(v -> { Log.d("ScannerDataManagerStubFragment", "button_create_documnent clicked"); Toast.makeText(getActivity(), "button_create_documnent clicked", Toast.LENGTH_LONG).show(); - // TODO-rca: ここでDocumentを作成する + + }); view.findViewById(R.id.button_init_document_processor).setOnClickListener(v -> { @@ -143,6 +145,11 @@ public class ScannerDataManagerStubFragment extends Fragment { }); } + public DocumentDetail createSampleDocumentDetail() { + DocumentDetail documentDetail = new DocumentDetail(); + return documentDetail; + } + @Override public void onResume() { super.onResume();