PreferenceInjector VS dagger

Compare PreferenceInjector vs dagger and see what are their differences.

PreferenceInjector

A SharedPreference "injection" library for Android (by denley)

dagger

A fast dependency injector for Android and Java. (by square)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
PreferenceInjector dagger
- 1
232 7,277
- -
0.0 0.0
over 8 years ago over 2 years 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.

PreferenceInjector

Posts with mentions or reviews of PreferenceInjector. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning PreferenceInjector yet.
Tracking mentions began in Dec 2020.

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?
    22 projects | news.ycombinator.com | 24 Aug 2023
    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.

What are some alternatives?

When comparing PreferenceInjector and dagger you can also consider the following projects:

SwissKnife - A multi-purpose library containing view injection and threading for Android using annotations

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