Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

See benefits Livedata to Flow #21

Open
rogergcc opened this issue Oct 8, 2023 · 2 comments
Open

See benefits Livedata to Flow #21

rogergcc opened this issue Oct 8, 2023 · 2 comments

Comments

@rogergcc
Copy link
Owner

rogergcc commented Oct 8, 2023

Approach Kotlin Flows in replace to Livedata

Hot Flows vs Cold Flows
StateFlows ShareFlows

@rogergcc rogergcc added help wanted Extra attention is needed improve dev develop utils labels Oct 8, 2023
@rogergcc
Copy link
Owner Author

rogergcc commented Apr 10, 2024

want to observa a change in your database offline ?
use Livedata in Room.
if not. Not use it

But Livedata came first for Android then appear kotlin flows .
Livedata requeired android dependencias

but room is in data layer and data layer should not have android dependencies
https://stackoverflow.com/questions/61669757/do-i-have-to-use-livedata-to-read-query-from-room-database-in-android-kotlin

@rogergcc
Copy link
Owner Author

2d6d3b1

@rogergcc rogergcc added progress and removed help wanted Extra attention is needed labels Jul 31, 2024
@rogergcc rogergcc added the done label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant