mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
WIP
This commit is contained in:
1 file changed
+8
-1
+8
-1
@@ -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();
|
||||||
|
|||||||
Reference in new issue
Block a user