Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun <T> LiveData<T>.toFlowable(owner: LifecycleOwner): Flowable<T> =
- Flowable.fromPublisher(LiveDataReactiveStreams.toPublisher(owner, this))
- fun <T> Flowable<T>.toLiveData(): LiveData<T> = LiveDataReactiveStreams.fromPublisher(this)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement