DaggerViewModelExperiment VS Dagger2

Compare DaggerViewModelExperiment vs Dagger2 and see what are their differences.

DaggerViewModelExperiment

[DEPRECATED, EXPERIMENT] This is a PoC example for app->activity->fragment subscoping with Subcomponents + ViewModel by SavedStateHandle (using AutoFactory). You shouldn't use this setup, because it breaks scoping. Refer to https://github.com/Zhuinden/jetpack-navigation-ftue-sample for a proper setup. (by Zhuinden)

Dagger2

A fast dependency injector for Android and Java. (by google)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
DaggerViewModelExperiment Dagger2
1 50
19 17,311
- 0.3%
0.0 9.1
almost 4 years ago 6 days ago
Kotlin Java
- Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

DaggerViewModelExperiment

Posts with mentions or reviews of DaggerViewModelExperiment. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-01-09.
  • AssistedInject or AutoFactory ?
    3 projects | /r/androiddev | 9 Jan 2021
    https://github.com/Zhuinden/DaggerViewModelExperiment I remember messing around with it here and I remember having problems, but I don't remember what.

Dagger2

Posts with mentions or reviews of Dagger2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-11.

What are some alternatives?

When comparing DaggerViewModelExperiment and Dagger2 you can also consider the following projects:

Guice - Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 11 and above, brought to you by Google.

Toothpick - A scope tree based Dependency Injection (DI) library for Java / Kotlin / Android.

Weld - Weld, including integrations for Servlet containers and Java SE, examples and documentation

butterknife - Bind Android views and callbacks to fields and methods.

HK2

Dynamic CDI - Dynamic Context Dependency Injection

Apache DeltaSpike - Mirror of Apache Deltaspike

Feather - Lightweight dependency injection for Java and Android (JSR-330)

Tiger

Katana - Lightweight, minimalistic dependency injection library for Kotlin & Android

ActivityStarter - Simple Android Library, that provides easy way to start the Activities with arguments.

android-ghostfish - Dependency injection container for Android