ARouter
ARouter copied to clipboard
1. 添加多路由支持,同一个页面 or service 添加多个路由路径
功能:添加多路由支持,同一个页面 or service 添加多个路由路径
适用场景:
- ios & andorid 由于历史原因定义的路由不一致,想要进行统一路由的时候,又需要兼容老的路由地址,可通过多路由地址解决
- 其他...
使用方式:
- 直接在activity或其他Arouter支持的类上添加多个@Route注解,如:
@Route(path = "/module/1")
@Route(path = "/test/multiRoute")
public class TestModuleActivity extends Activity {
...
}
环境要求
- 需要jvm配置成1.8,参考
compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
guangjin2.xian seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.