This commit is contained in:
r-ca 2024-01-07 17:55:39 +09:00
parent 07042f4e91
commit de668412fc
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -31,6 +31,7 @@ import java.util.Locale;
import javax.inject.Inject; import javax.inject.Inject;
import one.nem.lacerta.model.document.DocumentDetail;
import one.nem.lacerta.processor.DocumentProcessor; import one.nem.lacerta.processor.DocumentProcessor;
import one.nem.lacerta.processor.factory.DocumentProcessorFactory; 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 -> { view.findViewById(R.id.button_create_documnent).setOnClickListener(v -> {
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();
// TODO-rca: ここでDocumentを作成する
}); });
view.findViewById(R.id.button_init_document_processor).setOnClickListener(v -> { 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 @Override
public void onResume() { public void onResume() {
super.onResume(); super.onResume();