This commit is contained in:
ろむねこ 2024-01-12 12:38:56 +09:00
parent 8ee554d445
commit a754198d75
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168
3 changed files with 4 additions and 2 deletions

View File

@ -23,14 +23,14 @@ import javax.inject.Inject;
*/
public class LacertaLibraryStubImpl implements LacertaLibrary {
@Inject
LacertaLogger logger;
Faker faker;
@Inject
public LacertaLibraryStubImpl() {
public LacertaLibraryStubImpl(LacertaLogger logger) {
faker = new Faker(); // Init Faker
this.logger = logger;
logger.debug("LibraryStub", "Initialized");
}

View File

@ -8,6 +8,7 @@ import dagger.hilt.migration.DisableInstallInCheck;
import one.nem.lacerta.data.LacertaLibrary;
import one.nem.lacerta.data.impl.LacertaLibraryStubImpl;
import one.nem.lacerta.utils.LacertaLogger;
@Module
// Fragmentにinstall

View File

@ -50,6 +50,7 @@ public class DebugMenuTopFragment extends Fragment {
debugMenuListItems.add(new DebugMenuListItem("Document Tester", "placeholder", R.id.action_debugMenuTopFragment_to_debugMenuDocumentTesterTopFragment, true));
debugMenuListItems.add(new DebugMenuListItem("Scanner", "placeholder", R.id.action_debugMenuTopFragment_to_scannerDataManagerStubFragment, true));
debugMenuListItems.add(new DebugMenuListItem("Document List", "placeholder", R.id.action_debugMenuTopFragment_to_debugMenuLibraryItemListPageFragment, true));
DebugMenuListItemAdapter adapter = new DebugMenuListItemAdapter(debugMenuListItems);
recyclerView.setAdapter(adapter);