mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
WIP
This commit is contained in:
parent
07042f4e91
commit
de668412fc
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user