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

androidx.lifecycle.LiveDataReactiveStreams #6

Open
lalabib opened this issue Jan 26, 2024 · 0 comments
Open

androidx.lifecycle.LiveDataReactiveStreams #6

lalabib opened this issue Jan 26, 2024 · 0 comments

Comments

@lalabib
Copy link

lalabib commented Jan 26, 2024

Dalam update dokumen 2.6 (https://developer.android.com/jetpack/androidx/releases/lifecycle#2.6.0), "LiveDataReactiveStreams" telah diubah menjadi konversi Kotlin.

image

contoh:
//sebelumnya
val tourism = LiveDataReactiveStreams.fromPublisher(tourismUseCase.getAllTourism())

//setelahnya
val tourism = tourismUseCase.getAllTourism().toLiveData()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant