Inject追加

This commit is contained in:
ろむねこ 2024-01-16 12:25:37 +09:00
parent 462ea77e91
commit e6ce3571bf
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -27,6 +27,7 @@ import javax.inject.Inject;
import dagger.hilt.android.AndroidEntryPoint; import dagger.hilt.android.AndroidEntryPoint;
import one.nem.lacerta.utils.LacertaLogger; import one.nem.lacerta.utils.LacertaLogger;
import one.nem.lacerta.data.Document;
@AndroidEntryPoint @AndroidEntryPoint
public class ScannerManagerActivity extends AppCompatActivity { public class ScannerManagerActivity extends AppCompatActivity {
@ -36,6 +37,10 @@ public class ScannerManagerActivity extends AppCompatActivity {
@Inject @Inject
LacertaLogger logger; LacertaLogger logger;
@Inject
Document document;
// Variables // Variables
private ArrayList<Bitmap> croppedImages = new ArrayList<>(); private ArrayList<Bitmap> croppedImages = new ArrayList<>();
@ -138,7 +143,7 @@ public class ScannerManagerActivity extends AppCompatActivity {
private void saveNewDocument() { private void saveNewDocument() {
logger.debug(TAG, "saveNewDocument"); logger.debug(TAG, "saveNewDocument");
// TODO-rca: 実装
} }
private void insertToExistDocument() { private void insertToExistDocument() {