mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 09:43:15 +00:00
修正
This commit is contained in:
parent
8ee554d445
commit
a754198d75
|
@ -23,14 +23,14 @@ import javax.inject.Inject;
|
||||||
*/
|
*/
|
||||||
public class LacertaLibraryStubImpl implements LacertaLibrary {
|
public class LacertaLibraryStubImpl implements LacertaLibrary {
|
||||||
|
|
||||||
@Inject
|
|
||||||
LacertaLogger logger;
|
LacertaLogger logger;
|
||||||
|
|
||||||
Faker faker;
|
Faker faker;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
public LacertaLibraryStubImpl() {
|
public LacertaLibraryStubImpl(LacertaLogger logger) {
|
||||||
faker = new Faker(); // Init Faker
|
faker = new Faker(); // Init Faker
|
||||||
|
this.logger = logger;
|
||||||
logger.debug("LibraryStub", "Initialized");
|
logger.debug("LibraryStub", "Initialized");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@ import dagger.hilt.migration.DisableInstallInCheck;
|
||||||
|
|
||||||
import one.nem.lacerta.data.LacertaLibrary;
|
import one.nem.lacerta.data.LacertaLibrary;
|
||||||
import one.nem.lacerta.data.impl.LacertaLibraryStubImpl;
|
import one.nem.lacerta.data.impl.LacertaLibraryStubImpl;
|
||||||
|
import one.nem.lacerta.utils.LacertaLogger;
|
||||||
|
|
||||||
@Module
|
@Module
|
||||||
// Fragmentにinstall
|
// Fragmentにinstall
|
||||||
|
|
|
@ -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("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("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);
|
DebugMenuListItemAdapter adapter = new DebugMenuListItemAdapter(debugMenuListItems);
|
||||||
recyclerView.setAdapter(adapter);
|
recyclerView.setAdapter(adapter);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user