LifecycleCollector
This library provides you convenience extension functions to easier collect Kotlin Flows lifecycle-aware from Activities or Fragments. It gives you a more convenient way to collect Flows in LiveData-fashion. (by sebschaef)
Dispatch
Automatic CoroutineDispatcher injection and extensions for kotlinx.coroutines (by RBusarow)
LifecycleCollector | Dispatch | |
---|---|---|
1 | 1 | |
4 | 136 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | 3 months ago | |
Kotlin | Kotlin | |
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.
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.
LifecycleCollector
Posts with mentions or reviews of LifecycleCollector.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-08.
-
LiveData is superior to StateFlow for UI and ViewModel layer.
You can have a look at my little library, which is gives you three extension functions on flows: LifecycleCollector. However, it uses the experimental repeatOnLifecycle() under the hood.
Dispatch
Posts with mentions or reviews of Dispatch.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-08.
-
LiveData is superior to StateFlow for UI and ViewModel layer.
Dispatch has Lifecycle extensions which automatically start/stop without leaking pausing behavior. It has quite a few other shiny features as well.
What are some alternatives?
When comparing LifecycleCollector and Dispatch you can also consider the following projects:
loco - 🚀 launch on & cancel on lifecycle events
androidx - Development environment for Android Jetpack extension libraries under the androidx namespace. Synchronized with Android Jetpack's primary development branch on AOSP.
event-emitter - [ACTIVE] The event emitter allows you to register multiple observers, but enqueue events while there are no observers.