Share documents on RxAndroid and RxJava

Source: Internet
Author: User

Share documents on RxAndroid and RxJava

Recently, the ReactiveX programming model has gradually developed. For Android Developers, RxJava is a very difficult library to use, because it has many unfamiliar concepts for Android Developers, but it is really awesome. The core of RxAndroid is Asynchronization, which provides a well-maintained chain syntax and convenient switching between various threads. For most Android Developers, code written using RxAndroid should be confused at first, but it is good to be familiar with the process. RxAndroid can significantly improve code readability in complicated asynchronous programming scenarios, similar to the Promise programming mode of javascript.

ReactiveX is the abbreviation of Reactive Extensions, which is generally abbreviated as Rx. Rx is a programming model designed to provide consistent programming interfaces to help developers process asynchronous data streams more conveniently. NET, JavaScript, and C ++. Rx has become increasingly popular in recent years. Now it supports almost all popular programming languages (13 languages already exist ). The community website is http://reactivex.io /. RxAndroid adds some classes based on RxJava, so that we can use RxJava on the Android platform. Open-source projects such as hybrid fit (REST network library), RxBinding, and RxBus can be used with RxAndroid.

Below are some Blog articles collected by netizens

  • Explanation of RxJava for Android Developers-the article about throwing things is strongly recommended. You can get started with this article.

  • NotRxJava Special Guide for lazy people-this article is highly recommended, hands-on and easy-to-use guide to teach you how to implement a simple RxJava library and better understand the Implementation ideas of RxJava

  • In-depth introduction to RxJava (1: basics)

  • For more information, see RxJava (2: operators)

  • In-depth introduction to RxJava (III-benefits of responsive)

  • In-depth introduction to RxJava (4-using responsive programming in Android)

  • How to upgrade to RxAndroid1.0-applicable to users using Rx 0. x

    A series of excellent tutorials for developers on Frontline Translation
    • The responsive programming we missed in those years-a great article on responsive programming.

    • Use RxJava to load data from multiple data sources

    • Use RxJava. Observable to replace AsyncTask and AsyncTaskLoader

    • When the Avengers encounters a clever combination of Dragger2, RxJava, and Retrofit

    • Use SQLite in combination with RxJava

    • More responsive than iron Xia-RxJava

      Some good articles about Operators
      • A blog
      • Introduction to the use of Android RxJava (2) some good translations of RxJava Operators
        • [Translation] Deferring Observable code until subtasks in RxJava

        • [Translation] RxJava Observable tranformation: concatMap () vs flatMap ()

        • [Translation] Loading data from multiple sources with RxJava

        • Don't break the chain: use RxJava's compose () operator

          Test
          • Unit Testing RxJava Observables and SubscriptionsApp
            • Android-gfycat-Android application that loads gifs via gfycat for efficiency's sake

            • JakeWharton/u2020-an example of the use of RxJava and Retrofit

            • Avengers-an app using Retrofit + RxJava + MVP

            • Rx-android-architecture-an architecture using Rx in Android

            • Learnrxjava-RxJava example

              Library
              • Rx-preferences-make SharedPreferences support RxJava

              • RxAndroid-RxJava Android Extension

              • RxLifecycle-used to control the lifecycle of Android apps using RxJava

              • RxBinding-The RxJava binding API of the android UI control

              • Storio-databases supporting RxJava

              • Retrofit-network request library supporting RxJava

                Stackoverflow

                When shoshould one use RxJava Observable and when simple Callback on Android?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.