AutoDispose
RxRelay
Our great sponsors
AutoDispose | RxRelay | |
---|---|---|
4 | 7 | |
3,359 | 2,473 | |
0.4% | - | |
7.8 | 0.0 | |
about 1 month ago | over 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.
AutoDispose
-
Why was AsyncTask deprecated?
For RxJava you had to add aditional dependencies such as autodispose.
-
Senior devs, what's your current approach to reactive programming in Android?
If you're using RxJava, you could just use AutoDispose to create lifecycle-aware observables. All you need to do is add literally 1 line to your observable, which is much simpler compared to learning an entire framework.
-
A historical introduction to the Compose reactive state model
Some time in the 10 years before this post was written in 2021, RxJava became the de facto standard way to write reactive UI code. You would design your APIs around streams (Observables) and some infrastructure code would glue streams together and provide other wiring like automatic subscription management. Streams could signal events or hold state and notify listeners about changes to that state. Business logic tended to be written as functional transforms on streams (shoutout to flatMap).
-
RxJava is better than kotlin coroutines?
I am biased because I don't consider calling compositeDisposable.clear() at the right places hard. Some places have created very elaborate measures to need to avoid that, so maybe I'm missing something.
RxRelay
-
Am I the only one who feels that Google's "new stuff" approach is badly hurting productivity?
BehaviorRelay is really good
-
What is your tech stack?
RxJava with RxRelay (and rx-combinetuple-kt)
-
Has anyone successfully implemented Jetpack Compose into an existing app with MVP architecture?
Spoilers is that I just store every variable in their own BehaviorRelay.
-
ViewModels & Compose: State/StateFlow/Lifecycle
interesting approach; are you referring to the RxRelay library? do you exclusively use that/RxJava APIs for async work/reactivity in the business domain/data layers as well?
-
Is there any really good cheatsheet for RxJava that includes Observables, Subjects, Operators, Schedulers?
Although generally, just don't use subjects ever, use https://github.com/JakeWharton/RxRelay instead
-
How have you utilized Rxjava2 Subjects in your Android production apps?
RxRelay + Rx-CombineTuple-Kt (+ Rx-ValidateBy-Kt) are things I use in my everyday life
- RxJava is better than kotlin coroutines?
What are some alternatives?
Android-Contact-Extractor - Android contact extractor library is entitled to provide, simple contacts extraction API's to fetch contact from 'Contact' application
rx-combinetuple-kt - [ACTIVE] Helper function to combine RxJava observables into tuples.
CatchUp - An app for catching up on things.
Fuck-Storage-Access-Framework - Fuck Storage Access Framework (or just FSAF) is a handy library that hides away from you all the annoying parts of the Storage Access Framework (like DocumentTrees / DocumentIds / DocumentFiles / DocumentContracts and other bullshit) leaving only an API that is similar to good-old Java File API
cadence-java-client - Java framework for Cadence Workflow Service
simple-stack - [ACTIVE] Simple Stack, a backstack library / navigation framework for simpler navigation and state management (for fragments, views, or whatevers).
SqliteMagic - Compile time processed, annotation driven, no reflection SQLite database layer for Android
rx-validateby-kt - [ACTIVE] Helper to combine multiple boolean streams for simple validation.
requery - requery - modern SQL based query & persistence for Java / Kotlin / Android
android-developer-roadmap - Android Developer Roadmap 2020
android-developer-roadmap - 🗺 The Android Developer Roadmap offers comprehensive learning paths to help you understand Android ecosystems.