75
GitHub - KunMinX/android-viabus-architecture: ⚡ viabus - 年轻人的第一款架构 ⚡ j...
source link: https://github.com/KunMinX/android-viabus-architecture
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
中文文档 | English
什么是 ViaBus
⭐ ViaBus 是一款响应式架构,借助总线转发数据的请求和响应,实现ui、业务的完全解耦。
为什么选择 ViaBus
- 1分钟即可掌握,ViaBus 的结构与使用方式。?
- 当下就可使用,对原项目架构完全兼容,即插即用。?
- 允许以 业务或模块为单位,每天1小时,完成渐进式重构。?
- 职责边界明确,无论是写 UI 还是业务,不再被打断、相互不拖累。?
- 原生接口即可实现 跨 Activity、跨组件的 实时双向通信。⚡
- 无编译时注解,基于 Viabus 编写的组件可在任何项目中直接使用。?
- 更少的重复工作,扁平的交互模式,代码复用率提升至100%。?
- ...
更多依据详见 Wiki - Android:四大架构的优缺点,你真的了解吗?
如何使用 ViaBus
在模块的 build.gradle 添加如下依赖
implementation "com.kunminx.viabus:viabus-architecture:0.4.2"
使用方法详见 Wiki - 1分钟掌握 ViaBus 架构和使用
谁在用 Viabus
见证者 Logo 作品地址或项目链接 MyateJx 舒心录 - 酷安老牌记事本 app MyateJx gank.io 客户端鸣谢
RxJava
License
Copyright 2018 KunMinX
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK