デバッグ処理実装

This commit is contained in:
r-ca 2024-01-08 15:11:28 +09:00
parent 6d6f4790a0
commit 080e86d05d
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -180,10 +180,12 @@ public class ScannerDataManagerStubFragment extends Fragment {
Toast.makeText(getActivity(), "documentProcessor is null", Toast.LENGTH_LONG).show();
return;
}
for (CapturedData capturedData : this.results) {
this.documentProcessor.addNewPageToLast(capturedData.getBitmap());
Bitmap[] bitmaps = new Bitmap[results.size()];
for (int i = 0; i < results.size(); i++) {
bitmaps[i] = results.get(i).getBitmap();
}
this.documentProcessor.addNewPagesToLast(bitmaps);
});
}