LiveDataToRxJava - convert LiveData to RxJava

  •        6

LiveDataToRxJava is a language extension library that provides some API for converting LiveData to RxJava. LiveData can specify the period of observation in the lifecycle of a LifecycleOwner. In our applications including Android support-26 library, the commonly used Activity and Fragment has implemented the LifecycleOwner interface, so it can be very convenient to use our data in the lifecycle of UI.

https://github.com/YvesCheung/LiveDataToRxJava

Tags
Implementation
License
Platform

   




Related Projects

Posts - A sample Android app using Kotlin, Dagger 2, RxJava, RxAndroid, Retrofit and Android Architecture Components with a modular setup & effective networking

  •    Kotlin

A sample app to demonstrate the building of a good, modular and scalable Android app using Kotlin, Android Architecture Components (LiveData, ViewModel & Room), Dagger, RxJava and RxAndroid among others. Effective Networking - Using a combination of Retrofit, Rx, Room and LiveData, we are able to handle networking in the most effective way.

AutoDispose - Automatic binding+disposal of RxJava 2 streams.

  •    Java

AutoDispose is an RxJava 2 tool for automatically binding the execution of RxJava 2 streams to a provided scope via disposal/cancellation.Often (especially in mobile applications), Rx subscriptions need to stop in response to some event (for instance, when Activity#onStop() executes in an Android app). In order to support this common scenario in RxJava 2, we built AutoDispose.

RxJava-Android-Samples - Learning RxJava for Android by example

  •    Java

This is a repository with real-world useful examples of using RxJava with Android. It usually will be in a constant state of "Work in Progress" (WIP). I've also been giving talks about Learning Rx using many of the examples listed in this repo.


kovenant - Kovenant. Promises for Kotlin.

  •    Kotlin

Promises for Kotlin. The easy asynchronous library for Kotlin. With extensions for Android, RxJava, JavaFX and much more.

ChangeDetection - Automatically track websites changes on Android in background.

  •    Kotlin

This app also showcases all the Android Architecture Components working together: Room, ViewModels, LiveData, Paging, WorkManager and Navigation. The app uses a Model-View-ViewModel (MVVM) architecture for the presentation layer. Each of the fragments corresponds to a MVVM View. The View and ViewModel communicate using LiveData and general good principles.

rxandroidexamples - A set of examples for using RxJava in Android

  •    Java

A Collection of Examples of RxAndroid designed to convery a basic understanding of Rx and its uses on Android.

Reactive-Billing - Lightweight reactive wrapper around In App Billing API v3 for Android

  •    Java

Cut the hassle when implementing in-app purchases on Android. Reactive Billing is a lightweight reactive wrapper around In App Billing API v3 for Android. Reactive: Exposes the In App Billing service methods as Observable, allowing to implement easy asynchrounous callbacks and other Rx-related fun stuff.

RxFile - Rx methods to get a File and Image or Video thumbnails from a Document Provider on Android (Drive, Dropbox etc)

  •    Java

It is really easy to use it, depending on your needs it returns the appropriate file or Bitmap. You can fetch a Bitmap when you are selecting an Image or a Video. The fetched Bitmap is a thumbnail of the selected Image or Video. When you choose to select a file from Dropbox or Drive, the file is being downloaded and copied to the Library's cache folder. It then returns the File object and you have complete access over it in case you need to upload it to a server or in a similar use case.

RxKotlin - RxJava bindings for Kotlin

  •    Kotlin

RxKotlin is a lightweight library that adds convenient extension functions to RxJava. You can use RxJava with Kotlin out-of-the-box, but Kotlin has language features (such as extension functions) that can streamline usage of RxJava even more. RxKotlin aims to conservatively collect these conveniences in one centralized library, and standardize conventions for using RxJava with Kotlin.Chapter 12 of Learning RxJava covers RxKotlin and Kotlin idioms with RxJava.

RxJava2-Android-Samples - RxJava 2 Android Examples - Migration From RxJava 1 to RxJava 2 - How to use RxJava 2 in Android

  •    Java

RxJava 2.0 has been completely rewritten from scratch on top of the Reactive-Streams specification. The specification itself has evolved out of RxJava 1.x and provides a common baseline for reactive systems and libraries. Because Reactive-Streams has a different architecture, it mandates changes to some well known RxJava types.