mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
HiltModule実装
This commit is contained in:
parent
3c66480f0f
commit
4ce8315678
|
@ -0,0 +1,16 @@
|
||||||
|
package one.nem.lacerta.data.module;
|
||||||
|
|
||||||
|
import dagger.Binds;
|
||||||
|
import dagger.Module;
|
||||||
|
import dagger.hilt.InstallIn;
|
||||||
|
import dagger.hilt.android.components.FragmentComponent;
|
||||||
|
import one.nem.lacerta.data.LacertaSearch;
|
||||||
|
import one.nem.lacerta.data.impl.LacertaSearchStubImpl;
|
||||||
|
|
||||||
|
@Module
|
||||||
|
@InstallIn(FragmentComponent.class)
|
||||||
|
abstract public class LacertaSearchModule {
|
||||||
|
|
||||||
|
@Binds
|
||||||
|
public abstract LacertaSearch bindLacertaSearch(LacertaSearchStubImpl impl);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user