integrated hilt so we dont have to manually pass context and inject retrofit in andriod

This commit is contained in:
Alex
2026-04-04 18:15:05 -06:00
parent 4ea76ddab5
commit ddc8e98c19
37 changed files with 504 additions and 194 deletions

View File

@@ -8,6 +8,7 @@ material = "1.13.0"
activity = "1.12.4"
constraintlayout = "2.2.1"
swiperefreshlayout = "1.2.0"
hilt = "2.51.1"
[libraries]
junit = { group = "junit", name = "junit", version.ref = "junit" }
@@ -18,7 +19,9 @@ material = { group = "com.google.android.material", name = "material", version.r
activity = { group = "androidx.activity", name = "activity", version.ref = "activity" }
constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" }
swiperefreshlayout = { group = "androidx.swiperefreshlayout", name = "swiperefreshlayout", version.ref = "swiperefreshlayout" }
hilt-android = { group = "com.google.dagger", name = "hilt-android", version.ref = "hilt" }
hilt-compiler = { group = "com.google.dagger", name = "hilt-compiler", version.ref = "hilt" }
[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }