Toothpick
A scope tree based Dependency Injection (DI) library for Java / Kotlin / Android. (by stephanenicolas)
simple-component
Basic dependency injection tool (by jbock-java)
Our great sponsors
Toothpick | simple-component | |
---|---|---|
3 | 3 | |
1,116 | 3 | |
- | - | |
0.0 | 8.3 | |
almost 2 years ago | about 1 month ago | |
Java | 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.
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.
Toothpick
Posts with mentions or reviews of Toothpick.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-25.
-
Is dependency injection really a hard topic ? Or am i just dumb ?
Just as an alternative, the library toothpick focused on one concept, scopes, much easier for anyone on Android to grasp. You have application scope, activity scope, fragment scope and custom scope. Even while reading this, I'm sure you already understand what each of those represent. Having said that, it wasn't able to solve most of the other implementation complexities beyond better conceptual abstractions.
-
what is the life cycle of viewModel? please explain in as easy words as possible.
If dynamic scope dependency injection is of your interest check the, by far (just my opinion please), best DI lib we can currently use in Android/JVM modules for the last 6 years: https://github.com/stephanenicolas/toothpick
-
Hilt or Dagger
Toothpick
simple-component
Posts with mentions or reviews of simple-component.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-02.
-
simple-component 1.007 released
Link to project page on github
-
Dependency injection frameworks
I just started another "dagger style" one because dagger annoys me (too many features, "surprising" scoping rules, too many classes generated, typecasts in generated code): simple-component
- I made a dependency injector
What are some alternatives?
When comparing Toothpick and simple-component you can also consider the following projects:
Dagger2 - A fast dependency injector for Android and Java.
Useful-Things - My opinions on common Java libraries, reverse engineering guides, and some assorted other tips
Guice - Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 11 and above, brought to you by Google.
butterknife - Bind Android views and callbacks to fields and methods.
Tiger
android-ghostfish - Dependency injection container for Android
avaje-inject - Dependency injection via APT (source code generation) ala "Server-Side Dagger DI"
Katana - Lightweight, minimalistic dependency injection library for Kotlin & Android
Bootique - Bootique is a minimally opinionated platform for modern runnable Java apps.
Toothpick vs Dagger2
simple-component vs Useful-Things
Toothpick vs Guice
simple-component vs Guice
Toothpick vs butterknife
simple-component vs Tiger
Toothpick vs android-ghostfish
simple-component vs Dagger2
Toothpick vs Tiger
simple-component vs avaje-inject
Toothpick vs Katana
simple-component vs Bootique