dagger
A fast dependency injector for Android and Java. (by square)
roboguice
Google Guice on Android, version 3.0 [RETIRED] (by roboguice)
dagger | roboguice | |
---|---|---|
1 | - | |
7,277 | 3,767 | |
- | -0.1% | |
0.0 | 0.0 | |
about 3 years ago | almost 8 years ago | |
Java | Java | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
dagger
Posts with mentions or reviews of dagger.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-24.
-
Ask HN: Where do I find good code to read?
I learned a ton about Java and pragmatic algorithm development from reading Dagger (https://github.com/square/dagger) and porting it to C#. It's small enough that you can grok it in a reasonable amount of time, but sophisticated enough that there's a lot to learn. (Yes it's deprecated in favor of Dagger 2, but the latter is a tougher slog IMO)
Actually most of the big Square OSS libraries are great to read - okio, okhttp, picasso.
roboguice
Posts with mentions or reviews of roboguice.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning roboguice yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
When comparing dagger and roboguice you can also consider the following projects:
butterknife - Bind Android views and callbacks to fields and methods.
AndroidAnnotations - Fast Android Development. Easy maintainance.
transfuse - :syringe: Transfuse - A Dependency Injection and Integration framework for Google Android
PreferenceInjector - A SharedPreference "injection" library for Android
LiteAuto - lite your android ! the code is on the way~
SwissKnife - A multi-purpose library containing view injection and threading for Android using annotations