{"id":15027269,"url":"https://github.com/cn-ljb/rxjava_for_android","last_synced_at":"2025-04-12T22:36:20.032Z","repository":{"id":202127121,"uuid":"54618840","full_name":"cn-ljb/rxjava_for_android","owner":"cn-ljb","description":"Android platform on the use of Demo RxJava","archived":false,"fork":false,"pushed_at":"2017-06-09T08:58:58.000Z","size":14387,"stargazers_count":1061,"open_issues_count":2,"forks_count":256,"subscribers_count":68,"default_branch":"master","last_synced_at":"2025-04-04T02:07:53.069Z","etag":null,"topics":["android","rxajva"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cn-ljb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-03-24T06:08:39.000Z","updated_at":"2025-01-17T08:07:48.000Z","dependencies_parsed_at":"2023-11-10T11:46:21.368Z","dependency_job_id":null,"html_url":"https://github.com/cn-ljb/rxjava_for_android","commit_stats":null,"previous_names":["cn-ljb/rxjava_for_android"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cn-ljb%2Frxjava_for_android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cn-ljb%2Frxjava_for_android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cn-ljb%2Frxjava_for_android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cn-ljb%2Frxjava_for_android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cn-ljb","download_url":"https://codeload.github.com/cn-ljb/rxjava_for_android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248642803,"owners_count":21138352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","rxajva"],"created_at":"2024-09-24T20:06:05.906Z","updated_at":"2025-04-12T22:36:20.011Z","avatar_url":"https://github.com/cn-ljb.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rxjava_for_android\n\n**Kotlin版本：**[https://github.com/cn-ljb/rxjava_for_kotlin](https://github.com/cn-ljb/rxjava_for_kotlin)\n\n\n\tAndroid平台上使用RxJava的Demo\n\t\n\t感谢DevFactory的Mohamed Ezzat对代码的优化和建议\n\t\n\t\n\u003cbr/\u003e\n\n![](http://i.imgur.com/iWI5WxY.gif)\n![](http://i.imgur.com/vjXS2pI.gif)\n\n\u003ccenter\u003e...\u003c/center\u003e\n-----------------------------------------------------------\n\n\t1、Rxjava是什么（异步库、响应式编程）\n      \t 一个使用Java语言基于观察者模式拓展而来的高效异步库。\n     \n    2、Rxjava能做什么（异步、灵活、高效）\n        首先我们需要明确，使用RxJava写出的功能，并不会说比普通的Java代码I在功能表现上有多么强大，那有什么卵用？\t——异步、灵活、高效。\n    \n    3、如何学习RxJava（耐心）\n        首先请调节好学习心态，RxJava并不是一个\"拿来就能用\"的项目，他需要我们像学习门新语言一样从语法--\u003e词汇--\u003e用法的学习过程，我们需要做的只是摆好心态，耐心的学习。\n    \n\u003cbr/\u003e\u003cbr/\u003e\u003cbr/\u003e\n### 一、入门\n   如果你还没有接触过RxJava，下面这些文章可能会帮到你：\n   \n [给 Android 开发者的 RxJava 详解 ](http://gank.io/post/560e15be2dca930e00da1083) ——扔物线   对RxJava的概念以及基本特性做了详细介绍\n   \n   下面这些文章适合你跟着去敲，了解RxJava的基本语法：\n\n[深入浅出RxJava（一：基础篇）](http://blog.csdn.net/lzyzsd/article/details/41833541)\n\n[深入浅出RxJava ( 二：操作符 )](http://blog.csdn.net/lzyzsd/article/details/44094895)\n\n[深入浅出RxJava ( 三--响应式的好处 )](http://blog.csdn.net/lzyzsd/article/details/44891933)\n\n[深入浅出RxJava ( 四-在Android中使用响应式编程 )](http://blog.csdn.net/lzyzsd/article/details/45033611)\n\n——hi大头鬼hi\n\n\n如果你对RxJava的链式编程和代码结构感到好奇，下面这篇文章会从代码的角度给你带来惊喜：\n   \n[NotRxJava懒人专用指南 ](http://www.devtf.cn/?p=323)   从代码的角度教你实现一个简易的RxJava库                       \n   ——作者：Yaroslav Heriatovych  译者：Rocko  \n\n\u003cbr/\u003e\u003cbr/\u003e\u003cbr/\u003e\n### 二、进阶\n如果你已了解RxJava基本语法，并尝试着去练习，那么现在你需要熟悉更多的操作符，并理解它们的意思，在特定的场合使用它们去编写代码。\n\n操作符介绍：[ReactiveX中文翻译文档](https://mcxiaoke.gitbooks.io/rxdocs/content/index.html)\n\n以下是网上收集到的RxJava操作符在某些场景下的使用：\n\n[RxJava使用场景小结](http://blog.csdn.net/theone10211024/article/details/50435325)                                        ——THEONE10211024\n\n[RxJava使用场景小结 ](http://blog.csdn.net/lzyzsd/article/details/50120801)                                       ——hi大头鬼hi\n\n[RxJava-Android-Samples ](https://github.com/kaushikgopal/RxJava-Android-Samples)                             ——kaushikgopal\n\n\n\u003cbr/\u003e以下是本人在工作之余写的Demo\n\n[\u003cb\u003erxjava-for-android\u003c/b\u003e](https://github.com/cn-ljb/rxjava_for_android)    \n\n[（一）RxJava在Android网络框架中的使用](http://blog.csdn.net/qq1026291832/article/details/51006059)\n\n[（二）RxJava+RxBinding在View上的一些使用技巧](http://blog.csdn.net/qq1026291832/article/details/51006145)\n\n[（三）RxJava操作符：Buffer](http://blog.csdn.net/qq1026291832/article/details/51006385)\n\n[（四）RxJava操作符：zip数据合并操作](http://blog.csdn.net/qq1026291832/article/details/51006451)\n\n[（五）RxJava操作符：merge合并操作符](http://blog.csdn.net/qq1026291832/article/details/51006538)\n\n[（六）RxJava轮询器：interval](http://blog.csdn.net/qq1026291832/article/details/51006613)\n\n[（七）RxJava定时器：timer](http://blog.csdn.net/qq1026291832/article/details/51006705)\n\n[（八）RxJava：PublishSubject](http://blog.csdn.net/qq1026291832/article/details/51006746)\n\n[（九）RxJava：RxBus](http://blog.csdn.net/qq1026291832/article/details/51006825)\n\n[（十）【续】网络层（RxJava+OkHttp+Gson）](http://blog.csdn.net/qq1026291832/article/details/51084960)\n\n\u003cbr/\u003e\u003cbr/\u003e\u003cbr/\u003e\n### 三、 其他可能对你有所帮助的资料\n\n[那些年我们错过的响应式编程](http://www.devtf.cn/?p=174)        ——很详细的介绍什么是响应式编程\n\n[使用RxJava.Observable取代AsyncTask和AsyncTaskLoader](http://www.devtf.cn/?p=114)    ——通过比较介绍RxJava在异步处理上的优势\n\n[RxJava部分操作符介绍 ](http://mushuichuan.com/tags/RxJava/)       ——水木川博客\n\n[Awesome-RxJava](https://github.com/lzyzsd/Awesome-RxJava)               ——hi大头鬼hi     RxJava资源的总结分享\n    \n##### 值得一读的文章：\n\n[给创业码农的话--如何提升开发效率](http://mp.weixin.qq.com/s?__biz=MzAwNDY1ODY2OQ==\u0026mid=400785752\u0026idx=1\u0026sn=e1c166e7fad0892811c9ca9bca6d1540\u0026scene=23\u0026srcid=0329Nz6yhFIZKbW9emQgjUlM#rd)\n\n[关于APK瘦身值得分享的一些经验](http://zmywly8866.github.io/2015/04/06/decrease-apk-size.html)\n\n[Android客户端性能优化](http://blog.csdn.net/yueqian_scut/article/details/50762649#comments)\n\n[zjutkz's blog](http://zjutkz.net/archives/ \"http://zjutkz.net/archives/\")\n\n\u003cbr/\u003e\u003cbr/\u003e\u003cbr/\u003e\n### 四、学习中可能会涉及到的库\n\u003ca\u003ehttps://github.com/ReactiveX/RxJava\u003c/a\u003e          ——RxJava核心库\n\n\u003ca\u003ehttps://github.com/ReactiveX/RxAndroid\u003c/a\u003e        ——RxJava在Android中使用的扩展库\n\n\u003ca\u003ehttps://github.com/JakeWharton/RxBinding\u003c/a\u003e    ——Android控件对RxJava的支持库\n\n\u003ca\u003ehttps://github.com/f2prateek/rx-preferences\u003c/a\u003e    ——使SharedPreferences支持\nRxJava\n\n\u003ca\u003ehttps://github.com/trello/RxLifecycle\u003c/a\u003e                ——帮助RxJava在Android中生命周期的控制，避免内存溢出等问题\n\n\u003ca\u003ehttps://github.com/square/retrofit\u003c/a\u003e                    ——Retrofit\n\n\u003ca\u003ehttps://github.com/pushtorefresh/storio\u003c/a\u003e         ——数据库对RxJava的支持\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcn-ljb%2Frxjava_for_android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcn-ljb%2Frxjava_for_android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcn-ljb%2Frxjava_for_android/lists"}