This commit is contained in:
r-ca 2024-01-07 18:07:43 +09:00
parent 02d72ffa68
commit 95beda8cc2
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -145,13 +145,15 @@ public class ScannerDataManagerStubFragment extends Fragment {
Log.d("ScannerDataManagerStubFragment", "button_create_documnent clicked"); Log.d("ScannerDataManagerStubFragment", "button_create_documnent clicked");
Toast.makeText(getActivity(), "button_create_documnent clicked", Toast.LENGTH_LONG).show(); Toast.makeText(getActivity(), "button_create_documnent clicked", Toast.LENGTH_LONG).show();
this.documentDetail = createSampleDocumentDetail();
}); });
view.findViewById(R.id.button_init_document_processor).setOnClickListener(v -> { view.findViewById(R.id.button_init_document_processor).setOnClickListener(v -> {
Log.d("ScannerDataManagerStubFragment", "button_init_document_processor clicked"); Log.d("ScannerDataManagerStubFragment", "button_init_document_processor clicked");
Toast.makeText(getActivity(), "button_init_document_processor clicked", Toast.LENGTH_LONG).show(); Toast.makeText(getActivity(), "button_init_document_processor clicked", Toast.LENGTH_LONG).show();
// TODO-rca: ここでDocumentProcessorを初期化する // 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(); String id = UUID.randomUUID().toString();
Toast.makeText(getActivity(), "Generated id: " + id, Toast.LENGTH_LONG).show(); 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( DocumentMeta meta = new DocumentMeta(
id, id,