[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-3962":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":15,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":15,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":16,"starSnapshotCount":16,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},3962,"RxAndroid","ReactiveX\u002FRxAndroid","ReactiveX","RxJava bindings for Android","",null,"Java",19966,2938,978,1,0,4,70.9,"Apache License 2.0",false,"3.x",[],"2026-06-12 04:00:20","# RxAndroid: Reactive Extensions for Android\n\nAndroid specific bindings for [RxJava 3](http:\u002F\u002Fgithub.com\u002FReactiveX\u002FRxJava).\n\nThis module adds the minimum classes to RxJava that make writing reactive components in Android\napplications easy and hassle-free. More specifically, it provides a `Scheduler` that schedules on\nthe main thread or any given `Looper`.\n\n\n## Communication\n\nSince RxAndroid is part of the RxJava family the communication channels are similar:\n\n- Google Group: [RxJava][list]\n- Twitter: [@RxJava][twitter]\n- StackOverflow: [rx-android][so]\n- [GitHub Issues][issues]\n\n\n# Binaries\n\n```groovy\ndependencies {\n    implementation 'io.reactivex.rxjava3:rxandroid:3.0.2'\n    \u002F\u002F Because RxAndroid releases are few and far between, it is recommended you also\n    \u002F\u002F explicitly depend on RxJava's latest version for bug fixes and new features.\n    \u002F\u002F (see https:\u002F\u002Fgithub.com\u002FReactiveX\u002FRxJava\u002Freleases for latest 3.x.x version)\n    implementation 'io.reactivex.rxjava3:rxjava:3.1.5'\n}\n```\n\n* RxAndroid: \u003Ca href='http:\u002F\u002Fsearch.maven.org\u002F#search%7Cga%7C1%7Cg%3A%22io.reactivex.rxjava3%22%20a%3A%22rxandroid%22'>\u003Cimg src='http:\u002F\u002Fimg.shields.io\u002Fmaven-central\u002Fv\u002Fio.reactivex.rxjava3\u002Frxandroid.svg'>\u003C\u002Fa>\n* RxJava: \u003Ca href='http:\u002F\u002Fsearch.maven.org\u002F#search%7Cga%7C1%7Cg%3A%22io.reactivex.rxjava3%22%20a%3A%22rxjava%22'>\u003Cimg src='http:\u002F\u002Fimg.shields.io\u002Fmaven-central\u002Fv\u002Fio.reactivex.rxjava3\u002Frxjava.svg'>\u003C\u002Fa>\n\nAdditional binaries and dependency information for can be found at [search.maven.org](http:\u002F\u002Fsearch.maven.org\u002F#search%7Cga%7C1%7Cg%3A%22io.reactivex.rxjava3%22%20a%3A%22rxandroid%22).\n\n\u003Cdetails>\n\u003Csummary>Snapshots of the development version are available in Sonatype's snapshots repository.\u003C\u002Fsummary>\n\u003Cp>\n\n```groovy\nrepositories {\n    mavenCentral()\n    maven {\n        url 'https:\u002F\u002Foss.sonatype.org\u002Fcontent\u002Frepositories\u002Fsnapshots\u002F'\n    }\n}\n\ndependencies {\n    implementation 'io.reactivex.rxjava3:rxandroid:3.1.0-SNAPSHOT'\n}\n```\n\n\u003C\u002Fp>\n\u003C\u002Fdetails>\n\n\n## Build\n\nTo build:\n\n```bash\n$ git clone git@github.com:ReactiveX\u002FRxAndroid.git\n$ cd RxAndroid\u002F\n$ .\u002Fgradlew build\n```\n\nFurther details on building can be found on the RxJava [Getting Started][start] page of the wiki.\n\n# Sample usage\n\nA sample project which provides runnable code examples that demonstrate uses of the classes in this\nproject is available in the `sample-app\u002F` folder.\n\n## Observing on the main thread\n\nOne of the most common operations when dealing with asynchronous tasks on Android is to observe the task's\nresult or outcome on the main thread. Using vanilla Android, this would typically be accomplished with an\n`AsyncTask`. With RxJava instead you would declare your `Observable` to be observed on the main thread:\n\n```java\nObservable.just(\"one\", \"two\", \"three\", \"four\", \"five\")\n    .subscribeOn(Schedulers.newThread())\n    .observeOn(AndroidSchedulers.mainThread())\n    .subscribe(\u002F* an Observer *\u002F);\n```\n\nThis will execute the `Observable` on a new thread, and emit results through `onNext` on the main thread.\n\n## Observing on arbitrary loopers\n\nThe previous sample is merely a specialization of a more general concept: binding asynchronous\ncommunication to an Android message loop, or `Looper`. In order to observe an `Observable` on an arbitrary\n`Looper`, create an associated `Scheduler` by calling `AndroidSchedulers.from`:\n\n```java\nLooper backgroundLooper = \u002F\u002F ...\nObservable.just(\"one\", \"two\", \"three\", \"four\", \"five\")\n    .observeOn(AndroidSchedulers.from(backgroundLooper))\n    .subscribe(\u002F* an Observer *\u002F)\n```\n\nThis will execute the Observable on a new thread and emit results through `onNext` on whatever thread is\nrunning `backgroundLooper`.\n\n\n## Bugs and Feedback\n\nFor bugs, feature requests, and discussion please use [GitHub Issues][issues].\nFor general usage questions please use the [mailing list][list] or [StackOverflow][so].\n\n\n## LICENSE\n\n    Copyright 2015 The RxAndroid authors\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n        http:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n\n\n [list]: http:\u002F\u002Fgroups.google.com\u002Fd\u002Fforum\u002Frxjava\n [so]: http:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Ftagged\u002Frx-android\n [twitter]: http:\u002F\u002Ftwitter.com\u002FRxJava\n [issues]: https:\u002F\u002Fgithub.com\u002FReactiveX\u002FRxAndroid\u002Fissues\n [start]: https:\u002F\u002Fgithub.com\u002FReactiveX\u002FRxJava\u002Fwiki\u002FGetting-Started\n","RxAndroid 是 RxJava 在 Android 平台上的扩展，提供了便于在 Android 应用中实现响应式编程的工具。其核心功能包括为 RxJava 增加了最小化的类，特别是提供了一个可以在主线程或任何给定 Looper 上调度任务的 Scheduler，使得开发者能够轻松地处理异步操作并在 UI 线程上更新结果。该项目特别适合需要高效处理数据流、简化异步代码逻辑以及提高应用程序响应性的 Android 开发场景。通过使用 RxAndroid，开发人员可以更简洁优雅地编写与用户界面交互相关的代码，同时保持良好的性能和可维护性。",2,"2026-06-11 02:57:24","top_language"]