Skip to content

Commit ba8518b

Browse files
authored
Update doc
1 parent 06265de commit ba8518b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,20 @@ It simply loads **Posts** data from API and stores it in persistence storage (i.
3535
- [ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel) - Stores UI-related data that isn't destroyed on UI changes.
3636
- [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.
3737
- [Room](https://developer.android.com/topic/libraries/architecture/room) - SQLite object mapping library.
38-
- [Dagger 2](https://dagger.dev/) - Dependency Injection Framework
38+
- [Dependency Injection](https://developer.android.com/training/dependency-injection) -
39+
- [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`.
3941
- [Retrofit](https://square.github.io/retrofit/) - A type-safe HTTP client for Android and Java.
4042
- [Moshi](https://github.com/square/moshi) - A modern JSON library for Kotlin and Java.
4143
- [Moshi Converter](https://github.com/square/retrofit/tree/master/retrofit-converters/moshi) - A Converter which uses Moshi for serialization to and from JSON.
4244
- [Coil-kt](https://coil-kt.github.io/coil/) - An image loading library for Android backed by Kotlin Coroutines.
4345
- [Material Components for Android](https://github.com/material-components/material-components-android) - Modular and customizable Material Design UI components for Android.
4446
- [Gradle Kotlin DSL](https://docs.gradle.org/current/userguide/kotlin_dsl.html) - For writing Gradle build scripts using Kotlin.
4547

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)
4950

50-
[![Hilt Version](https://img.shields.io/static/v1?label=Foodium&message=Hilt-DI&color=brightgreen&logo=android)](https://github.com/PatilShreyas/Foodium/tree/dev-hilt-android)
51+
[![Dagger2 Version](https://img.shields.io/static/v1?label=Foodium&message=Dagger2-DI&color=brightgreen&logo=android)](https://github.com/PatilShreyas/Foodium/tree/dev-hilt-android)
5152

5253

5354
## [`Koin`](https://insert-koin.io/) DI Version 🗡️

0 commit comments

Comments
 (0)