keva-ioc
Toothpick
keva-ioc | Toothpick | |
---|---|---|
1 | 3 | |
5 | 1,116 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | almost 2 years ago | |
Java | 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.
keva-ioc
Toothpick
-
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?
Dagger2 - A fast dependency injector for Android and Java.
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.
android-ghostfish - Dependency injection container for Android
Tiger
Katana - Lightweight, minimalistic dependency injection library for Kotlin & Android
ActivityStarter - Simple Android Library, that provides easy way to start the Activities with arguments.
Android-Guide - Android Guide
katana - A next-generation crawling and spidering framework.
simple-component - Basic dependency injection tool
from-java-to-kotlin - From Java To Kotlin - Your Cheat Sheet For Java To Kotlin
JayWire - JayWire Dependency Injection