mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
ファイル名修正
This commit is contained in:
parent
c5db820e1d
commit
7add8bcc39
|
@ -36,4 +36,6 @@ dependencies {
|
|||
// Hilt
|
||||
implementation libs.com.google.dagger.hilt.android
|
||||
annotationProcessor libs.com.google.dagger.hilt.compiler
|
||||
|
||||
//
|
||||
}
|
|
@ -8,14 +8,15 @@ import java.util.Objects;
|
|||
import javax.inject.Inject;
|
||||
|
||||
import dagger.hilt.android.qualifiers.ApplicationContext;
|
||||
import one.nem.lacerta.data.utils.UtilsRepo;
|
||||
|
||||
public class UtilsImpl implements UtilsRepo{
|
||||
import oen.nem.lacerta.utils.repository.FileUtils;
|
||||
|
||||
public class FileUtilsImpl implements FileUtils {
|
||||
|
||||
private final Context applicationContext;
|
||||
|
||||
@Inject
|
||||
public UtilsImpl(@ApplicationContext Context applicationContext) {
|
||||
public FileUtilsImpl(@ApplicationContext Context applicationContext) {
|
||||
this.applicationContext = applicationContext;
|
||||
}
|
||||
|
|
@ -9,7 +9,7 @@ import one.nem.lacerta.data.utils.UtilsRepo;
|
|||
|
||||
@Module
|
||||
@InstallIn(SingletonComponent.class)
|
||||
abstract public class UtilsModule {
|
||||
abstract public class FileUtilsModule {
|
||||
|
||||
@Binds
|
||||
public abstract UtilsRepo bindUtils(UtilsImpl utilsImpl);
|
|
@ -2,7 +2,7 @@ package oen.nem.lacerta.utils.repository;
|
|||
|
||||
import java.nio.file.Path;
|
||||
|
||||
public interface UtilsRepo {
|
||||
public interface FileUtils {
|
||||
|
||||
Path getExternalFilesDirPath(String type);
|
||||
|
Loading…
Reference in New Issue
Block a user