当前位置:网站首页>Understanding of rxbus and rxbus2
Understanding of rxbus and rxbus2
2022-04-22 12:58:00 【zhangjin1120】
RxBus
Official website address :https://github.com/AndroidKnife/RxBus
RxBus What does it do ?
In official terms :
EventBus by RxJava, Namely RxJava And EventBus The common use .
RxBus2
RxBus2 Official address :https://github.com/MFlisar/RxBus2
RxBusBuilder What is the usage ?
Detailed see :github ReadMe
//DemoFragment#onCreateView()
RxBusBuilder.create(BleAgentStatusEvent.class)
.withBound(this) // Bound object , For subsequent unbinding
.withQueuing((DemoActivity) getActivity())
.withMode(RxBusMode.Main)
.subscribe(this::refreshDeviceStatus);
版权声明
本文为[zhangjin1120]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221254458948.html
边栏推荐
- OpenCV项目1-OCR识别
- 这个开源项目是要把我笑死吗?
- Chinese characters and screenshots suitable for the test boundary are selected
- Node 调试指南 —— Inspector 协议
- Digital commerce cloud centralized procurement system: centralized procurement and internal and external collaboration to minimize abnormal expenses
- Leetcode 34. Find the first and last positions of elements in the sorted array
- Sqlserver游标的使用
- Creation of multithreaded basic thread
- JS foundation 5
- Sprintf format string
猜你喜欢

这个开源项目是要把我笑死吗?

Leetcode 206, reverse linked list

Machine learning 7- logistic regression to realize the binary classification of watermelon dataset 2.0

MATLAB中的数据从double类型强制转化为uint8其舍入用的是四舍五入,附MATLAB基本数据类型

详解为什么OpenCV的直方图计算函数calcHist()计算出的灰度值为255的像素个数为0

科技产品宣传片制作成本的重要性!

rsync远程同步

Five ways to get database connection: have you really got it?

IDE导入项目

The system solution of digital commerce cloud home appliance mall optimizes the procurement and supply chain management of the electrical appliance mall, reduces inventory and improves capital utiliza
随机推荐
IDE Import Project
Machine learning 7- logistic regression to realize the binary classification of watermelon dataset 2.0
Interpreting closures from structured context
R语言多条决策曲线分析DCA(Decision Curve Analysis)曲线可视化在同一图像中、使用png函数将决策曲线分析DCA可视化结果保存为png格式
Explain in detail why the number of pixels with a gray value of 255 calculated by the opencv histogram calculation function calchist() is 0
Leetcode 389. Find different
R language ggplot2 visualization: calculate the number of missing values of each data column in the dataframe, and visualize the missing values of each data column using a stacked bar plot (set the co
Page d'inscription du projet Bookstore et vérification de la boîte aux lettres
书城项目注册页面和邮箱验证
从构建到治理,业内首本微服务治理技术白皮书正式发布(含免费下载链接)
Under the pressure of sanctions, Russia plans to import electronic products in parallel through friendly countries
R语言使用qnorm函数生成正太分布分位数函数数据、使用plot函数可视化正太分布分位数函数数据(Normal distribution)
R语言使用scale函数标准化缩放dataframe数据(设置scale参数、scale参数设置除以标准差)
3D application rotation album
Node 调试指南 —— Inspector 协议
数商云电子招投标系统解决方案丨规范政采流程,提高工作效率
R语言绘制小提琴图geom_violin,如何添加额外的点geom_point?geom_violin + geom_boxplot + geom_point组合使用
Leetcode 1678. Design goal parser
CMD命令与脚本学习笔记_Kali_B站
MATLAB中的数据从double类型强制转化为uint8其舍入用的是四舍五入,附MATLAB基本数据类型