Auxio/app
OxygenCobalt a65d37c421
all: switch to stateflow
Switch from LiveData to StateFlow.

While LiveData is a pretty good data storage/observer mechanism, it has
a few flaws:
- Values are always nullable in LiveData, even if you make them
non-null.
- LiveData can only be mutated on Dispatchers.Main, which frustrates
possible additions like a more fine-grained music status system.
- LiveData's perks are exclusive to ViewModels, which made coupling
with shared objects somewhat cumbersome.

StateFlow solves all of these by being a native coroutine solution with
proper android bindings. Use it instead.
2022-06-01 11:46:00 -06:00
..
src all: switch to stateflow 2022-06-01 11:46:00 -06:00
build.gradle all: switch to stateflow 2022-06-01 11:46:00 -06:00
NOTICE all: switch to spotless 2022-03-13 17:38:19 -06:00
proguard-rules.pro Create dedicated app object 2021-01-14 07:42:56 -07:00