From 95beda8cc2f0168ba5e6678f2422ffcb2795c7eb Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 7 Jan 2024 18:07:43 +0900 Subject: [PATCH] WIP --- .../component/scanner/ScannerDataManagerStubFragment.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 f9626066..a075a18c 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 @@ -145,13 +145,15 @@ public class ScannerDataManagerStubFragment extends Fragment { Log.d("ScannerDataManagerStubFragment", "button_create_documnent clicked"); Toast.makeText(getActivity(), "button_create_documnent clicked", Toast.LENGTH_LONG).show(); + this.documentDetail = createSampleDocumentDetail(); + }); view.findViewById(R.id.button_init_document_processor).setOnClickListener(v -> { Log.d("ScannerDataManagerStubFragment", "button_init_document_processor clicked"); Toast.makeText(getActivity(), "button_init_document_processor clicked", Toast.LENGTH_LONG).show(); // TODO-rca: ここでDocumentProcessorを初期化する - DocumentProcessor documentProcessor = documentProcessorFactory.create(); +// DocumentProcessor documentProcessor = documentProcessorFactory.create(); }); } @@ -160,7 +162,7 @@ public class ScannerDataManagerStubFragment extends Fragment { String id = UUID.randomUUID().toString(); Toast.makeText(getActivity(), "Generated id: " + id, Toast.LENGTH_LONG).show(); - logger.debug("CreateSample", "Generated id: " + id); + //logger.debug("CreateSample", "Generated id: " + id); DocumentMeta meta = new DocumentMeta( id,