From 4ce83156781a5ebef5353d5edfcaed51e514bf3c Mon Sep 17 00:00:00 2001 From: r-ca Date: Sat, 13 Jan 2024 14:36:59 +0900 Subject: [PATCH] =?UTF-8?q?HiltModule=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/data/module/LacertaSearchModule.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 data/src/main/java/one/nem/lacerta/data/module/LacertaSearchModule.java diff --git a/data/src/main/java/one/nem/lacerta/data/module/LacertaSearchModule.java b/data/src/main/java/one/nem/lacerta/data/module/LacertaSearchModule.java new file mode 100644 index 00000000..3357fb42 --- /dev/null +++ b/data/src/main/java/one/nem/lacerta/data/module/LacertaSearchModule.java @@ -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); +}