simple-component
Basic dependency injection tool (by jbock-java)
Toothpick
A scope tree based Dependency Injection (DI) library for Java / Kotlin / Android. (by stephanenicolas)
simple-component | Toothpick | |
---|---|---|
3 | 3 | |
3 | 1,116 | |
- | - | |
8.3 | 0.0 | |
about 1 month ago | almost 2 years 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.
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
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
What are some alternatives?
When comparing simple-component and Toothpick you can also consider the following projects:
Useful-Things - My opinions on common Java libraries, reverse engineering guides, and some assorted other tips
Dagger2 - A fast dependency injector for Android and Java.