anvil
Dagger2
Our great sponsors
anvil | Dagger2 | |
---|---|---|
7 | 44 | |
1,033 | 16,931 | |
1.5% | 0.1% | |
8.5 | 9.2 | |
3 days ago | 2 days ago | |
Kotlin | Java | |
Apache License 2.0 | Apache License 2.0 |
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.
anvil
-
Whetstone: A DI framework for Android that simplifies working with Dagger 2 using Anvil
In terms of of what Anvil is I'd really recommend reading the README It's a lot more flexible than Hilt and provides a code generation hook so if you have a codebase specific DI pattern you can also set that up to be auto-generated with a custom annotation if you desire.
-
Anvil, generating factories without kapt, and module structure.
Recently I've been looking into Anvil as an alternative to Dagger and realised that it can handily generate factories for you without kapt. That brings some exciting potential for build time improvement so I was eager to try it out. However very quickly I got stuck.
-
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:
Dagger2
-
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/
-
Dagger - A portable devkit for CI/CD pipelines
Iām afraid the name is already taken https://dagger.dev
-
Dagger: a new way to build CI/CD pipelines
I support the effort to build a platform-agnostic CI/CD pipeline solution, but I don't want it in the form of yet another platform. Rather it needs to be a protocol that any platform can tie in to. I'm especially wary since this is another VC-backed effort that will eventually need to be monetized in some shape or form.
Additionally, as someone else here has already mentioned, my mind first went to Dagger, the dependency injection tool (https://dagger.dev). That tool in particular was named as a play on DAG (directed acyclic graphs), whereas in this case I don't think it would apply since there may be instances where you'd want cycles in a pipeline.
On a whim, I clicked on "Trademark Guidelines" (https://dagger.io/trademark) and from that page alone I would recommend avoiding this based on the aggressive language used to try and claim ownership of generic words. According to their own language, it seems I'm violating their guidelines by writing this comment.
> Our Marks consist of the following registered, unregistered and/or pending trademarks, service marks and logos which are subject to change without notice: Dagger; Blocklayer; and other designs, logos or marks which may be referred to in your specific license agreement or otherwise.
> Blocklayer does not permit using any of our Marks ... to identify non-Blocklayer products, services or technology
Which would include Dagger, the dependency injection tool.
Other sections of note:
> Do Not Use As Nouns
(This one just reads amusingly to me, for some reason.)
> Do Not Create Composite Marks
This section seems to suggest that you can't use "dagger" in any shape or form, even as a smaller part of some other word or body of text.
> Websites And Domain Name Uses
What are some alternatives?
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.
butterknife - Bind Android views and callbacks to fields and methods.
HK2
Weld - Weld, including integrations for Servlet containers and Java SE, examples and documentation
Dynamic CDI - Dynamic Context Dependency Injection
Apache DeltaSpike - Mirror of Apache Deltaspike
Tiger
Feather - Lightweight dependency injection for Java and Android (JSR-330)
ActivityStarter - Simple Android Library, that provides easy way to start the Activities with arguments.
Katana - Lightweight, minimalistic dependency injection library for Kotlin & Android
android-ghostfish - Dependency injection container for Android