Skip to content

Dagger 2 is one of dependency injection framework in Android that can provide us dependencies in a particular class. It’s probably the most used dependency injection framework in Android development. Singleton annotation can be put in other component and as long as the component alive the singleton annotated object will alive as well.

Notifications You must be signed in to change notification settings

VaibhavMojidra/Android-Java---Demo-Dagger-2-Singleton

Repository files navigation

Android-Java---Demo-Dagger-2-Singleton

Flow OutputBefore OutputAfter

About

Dagger 2 is one of dependency injection framework in Android that can provide us dependencies in a particular class. It’s probably the most used dependency injection framework in Android development. Singleton annotation can be put in other component and as long as the component alive the singleton annotated object will alive as well.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages