Skip to content

Conversation

@ysnows
Copy link

@ysnows ysnows commented Jul 8, 2022

功能:添加多路由支持,同一个页面 or service 添加多个路由路径

适用场景:
  1. ios & andorid 由于历史原因定义的路由不一致,想要进行统一路由的时候,又需要兼容老的路由地址,可通过多路由地址解决
  2. 其他...
使用方式:
  1. 直接在activity或其他Arouter支持的类上添加多个@route注解,如:
@Route(path = "/module/1")
@Route(path = "/test/multiRoute")
public class TestModuleActivity extends Activity {
   ...
}
环境要求
  1. 需要jvm配置成1.8,参考
compileJava {
    sourceCompatibility = '1.8'
    targetCompatibility = '1.8'
}

@CLAassistant
Copy link

CLA assistant check
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants