butterknife
Bind Android views and callbacks to fields and methods. (by JakeWharton)
Dagger2
A fast dependency injector for Android and Java. (by google)
Our great sponsors
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Onboard AI - Learn any GitHub repo in 59 seconds
- SaaSHub - Software Alternatives and Reviews
butterknife | Dagger2 | |
---|---|---|
2 | 50 | |
25,589 | 17,219 | |
- | 0.1% | |
0.0 | 8.3 | |
3 months ago | 5 days ago | |
Java | Java | |
Apache License 2.0 | 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.
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.
butterknife
Posts with mentions or reviews of butterknife.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-08.
-
Tafkars: Reddit-API proxy for Lemmy (help wanted)
Oof, Infinity uses the long deprecated butterknife, and I'm unable to compile on my m1. Fave part of programming: getting things to run the first time.
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.
-
Dependency injection with AWS Lambdas in java
As said in the title, we will focus on the dependency inversion principle and one of its application : dependency injection. For production-ready applications, it would be better to rely on a framework and not implement its own container. For it, the java ecosystem have 3 frameworks available : Spring, Guice and Dagger.
-
Refactoring our Dependency Injection using Anvil
At Reddit, we use Dagger 2 for handling dependency injection (DI) in our Android application. As we’ve scaled the application over the years, we’ve accrued a bit of technical debt in how we have approached this problem.
-
Dagger Python SDK: Develop Your CI/CD Pipelines as Code
Confusing. I initially thought someone ported the Dagger DI framework to Python: https://dagger.dev/
-
Multiplatform dependency injection libraries equivalent to Dagger/Anvil
I'm currently using Dagger and Anvil for my DI needs. It's been working really well, especially around what Anvil permits in terms of multibindings defined on the type declaration rather than in a module. For example:
-
Dagger 2.43 released with support for multiple instances of the same ViewModel using keys 🎉
Great job, I have been waiting for this feature/fix for a long time https://github.com/google/dagger/issues/2328
-
Best libraries for Android Developers
Dagger
-
Dirk: a new light-weight system for dependency injection
Of course, but given that there is already https://dagger.dev/ I wonder how much of this "dirk" is derivative, and how is it better than what is already out there?
-
WireDI: Framework for dependency injection at compile time, aiming to bridge with runtime dependency injection
Are you trying to reinvent, or perhaps improve upon, Dagger?
-
dilib - Dependency Injection in Rust
i don't really consider runtime a requirement of DI, perhaps stuff like spring made that something people are used to. another example https://dagger.dev/
What are some alternatives?
When comparing butterknife and Dagger2 you can also consider the following projects:
Guice - Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 8 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
HK2
AndroidAnnotations - Fast Android Development. Easy maintainance.
Dynamic CDI - Dynamic Context Dependency Injection
dagger - A fast dependency injector for Android and Java.
Apache DeltaSpike - Mirror of Apache Deltaspike
Katana - Lightweight, minimalistic dependency injection library for Kotlin & Android
Tiger
Feather - Lightweight dependency injection for Java and Android (JSR-330)