You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,19 +35,20 @@ It simply loads **Posts** data from API and stores it in persistence storage (i.
35
35
-[ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel) - Stores UI-related data that isn't destroyed on UI changes.
36
36
-[ViewBinding](https://developer.android.com/topic/libraries/view-binding) - Generates a binding class for each XML layout file present in that module and allows you to more easily write code that interacts with views.
-[Hilt-Dagger](https://dagger.dev/hilt/) - Standard library to incorporate Dagger dependency injection into an Android application.
40
+
-[Hilt-ViewModel](https://developer.android.com/training/dependency-injection/hilt-jetpack) - DI for injecting `ViewModel`.
39
41
-[Retrofit](https://square.github.io/retrofit/) - A type-safe HTTP client for Android and Java.
40
42
-[Moshi](https://github.com/square/moshi) - A modern JSON library for Kotlin and Java.
41
43
-[Moshi Converter](https://github.com/square/retrofit/tree/master/retrofit-converters/moshi) - A Converter which uses Moshi for serialization to and from JSON.
42
44
-[Coil-kt](https://coil-kt.github.io/coil/) - An image loading library for Android backed by Kotlin Coroutines.
43
45
-[Material Components for Android](https://github.com/material-components/material-components-android) - Modular and customizable Material Design UI components for Android.
44
46
-[Gradle Kotlin DSL](https://docs.gradle.org/current/userguide/kotlin_dsl.html) - For writing Gradle build scripts using Kotlin.
45
47
46
-
## [`Hilt`](https://developer.android.com/training/dependency-injection/hilt-android) DI Version 🗡️
47
-
Hilt provides a standard way to use DI in your application by providing containers for every Android class in your project and managing their lifecycles automatically. Hilt is built on top of the popular DI library Dagger to benefit from the compile-time correctness, runtime performance, scalability, and Android Studio support that Dagger provides.
48
-
If you want to see this app's implementation with Hilt, see branch [***`dev-hilt-android`***](https://github.com/PatilShreyas/Foodium/tree/dev-hilt-android)
48
+
## [`Dagger`](https://dagger.dev/) (Old) DI Version 🗡️
49
+
If you want to refer old way of Dependency Injetion using Dagger2, see branch [***`dagger2-di`***](https://github.com/PatilShreyas/Foodium/tree/dagger2-di)
0 commit comments