An open API service indexing awesome lists of open source software.

https://github.com/baronz88/router

Android 平台一个简单的路由框架,包含路由和参数注入两部分功能。
https://github.com/baronz88/router

android router

Last synced: about 1 year ago
JSON representation

Android 平台一个简单的路由框架,包含路由和参数注入两部分功能。

Awesome Lists containing this project

README

          

## Router

> Android 平台路由框架

### 最新版本

| 模块 | router | router-compiler |
|-----|:--------:|:-------:|
|最新版本|[ ![Download](https://api.bintray.com/packages/baronz88/maven/router/images/download.svg) ](https://bintray.com/baronz88/maven/router/_latestVersion)|[ ![Download](https://api.bintray.com/packages/baronz88/maven/router-compiler/images/download.svg) ](https://bintray.com/baronz88/maven/router-compiler/_latestVersion)|

推荐阅读:

* [安居客 Android 项目架构演进](https://mp.weixin.qq.com/s?__biz=MzU4ODM2MjczNA==&mid=2247483731&idx=1&sn=76bd5612ba723171b6ebac69aaf039f8&chksm=fddca7d2caab2ec4eec8736cf4005615c401984e2218a0cfc71dddfe3a204495c4e8a7312b4a&scene=38#wechat_redirect)
* [Android 模块化探索与实践](https://mp.weixin.qq.com/s?__biz=MzU4ODM2MjczNA==&mid=2247483732&idx=1&sn=b7ee1151b2c8ad2e997b8db39adf3267&chksm=fddca7d5caab2ec33905cc3350f31c0c98794774b0d04a01845565e3989b1f20205c7f432cb9&scene=38#wechat_redirect)

### 结构图


Router

### 使用

**一、添加依赖配置**

```groovy
dependencies {
compile 'com.baronzhang.android:router:0.2.3'
annotationProcessor 'com.baronzhang.android:router-compiler:0.2.3'
}
```

**二、使用**

### 开源许可 [![Hex.pm](https://img.shields.io/hexpm/l/plug.svg)](https://www.apache.org/licenses/LICENSE-2.0)

```
Copyright 2017 Baron Zhang

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.
```