├── .gitignore ├── Readme.md ├── annotation ├── .gitignore ├── Readme.md ├── build.gradle └── src │ └── main │ └── java │ └── com │ └── ai │ └── router │ └── anno │ └── Route.java ├── compiler ├── .gitignore ├── Readme.md ├── build.gradle └── src │ └── main │ ├── java │ └── com │ │ └── ai │ │ └── router │ │ └── compiler │ │ ├── Constants.java │ │ ├── RouterProcessor.java │ │ ├── exception │ │ └── RouteException.java │ │ ├── target │ │ └── TargetInfo.java │ │ └── util │ │ ├── UtilManager.java │ │ └── Utils.java │ └── resources │ └── META-INF │ └── services │ └── javax.annotation.processing.Processor ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── normalusage ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── ai │ │ └── router │ │ └── normalusage │ │ ├── Main2Activity.java │ │ ├── Main3Activity.java │ │ ├── MainActivity.java │ │ ├── RouterApplication.java │ │ ├── RouterManager.java │ │ └── base │ │ └── IRoute.java │ └── res │ ├── layout │ ├── activity_main.xml │ ├── activity_main2.xml │ └── activity_main3.xml │ ├── mipmap-hdpi │ └── ic_launcher.png │ ├── mipmap-mdpi │ └── ic_launcher.png │ ├── mipmap-xhdpi │ └── ic_launcher.png │ ├── mipmap-xxhdpi │ └── ic_launcher.png │ ├── mipmap-xxxhdpi │ └── ic_launcher.png │ ├── values-w820dp │ └── dimens.xml │ └── values │ ├── colors.xml │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml ├── router ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── ai │ │ └── router │ │ ├── IRoute.java │ │ └── RouterManager.java │ └── res │ └── values │ └── strings.xml ├── sample ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── ai │ │ └── simplerouterdemo │ │ ├── Main2Activity.java │ │ ├── Main3Activity.java │ │ ├── MainActivity.java │ │ └── RouterApplication.java │ └── res │ ├── layout │ ├── activity_main.xml │ ├── activity_main2.xml │ └── activity_main3.xml │ ├── mipmap-hdpi │ └── ic_launcher.png │ ├── mipmap-mdpi │ └── ic_launcher.png │ ├── mipmap-xhdpi │ └── ic_launcher.png │ ├── mipmap-xxhdpi │ └── ic_launcher.png │ ├── mipmap-xxxhdpi │ └── ic_launcher.png │ ├── values-w820dp │ └── dimens.xml │ └── values │ ├── colors.xml │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml ├── settings.gradle └── version.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/.gitignore -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/Readme.md -------------------------------------------------------------------------------- /annotation/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /annotation/Readme.md: -------------------------------------------------------------------------------- 1 | ### 定义需要使用的注解 -------------------------------------------------------------------------------- /annotation/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/annotation/build.gradle -------------------------------------------------------------------------------- /annotation/src/main/java/com/ai/router/anno/Route.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/annotation/src/main/java/com/ai/router/anno/Route.java -------------------------------------------------------------------------------- /compiler/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /compiler/Readme.md: -------------------------------------------------------------------------------- 1 | #### 注解处理library -------------------------------------------------------------------------------- /compiler/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/compiler/build.gradle -------------------------------------------------------------------------------- /compiler/src/main/java/com/ai/router/compiler/Constants.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/compiler/src/main/java/com/ai/router/compiler/Constants.java -------------------------------------------------------------------------------- /compiler/src/main/java/com/ai/router/compiler/RouterProcessor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/compiler/src/main/java/com/ai/router/compiler/RouterProcessor.java -------------------------------------------------------------------------------- /compiler/src/main/java/com/ai/router/compiler/exception/RouteException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/compiler/src/main/java/com/ai/router/compiler/exception/RouteException.java -------------------------------------------------------------------------------- /compiler/src/main/java/com/ai/router/compiler/target/TargetInfo.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/compiler/src/main/java/com/ai/router/compiler/target/TargetInfo.java -------------------------------------------------------------------------------- /compiler/src/main/java/com/ai/router/compiler/util/UtilManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/compiler/src/main/java/com/ai/router/compiler/util/UtilManager.java -------------------------------------------------------------------------------- /compiler/src/main/java/com/ai/router/compiler/util/Utils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/compiler/src/main/java/com/ai/router/compiler/util/Utils.java -------------------------------------------------------------------------------- /compiler/src/main/resources/META-INF/services/javax.annotation.processing.Processor: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/compiler/src/main/resources/META-INF/services/javax.annotation.processing.Processor -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/gradlew.bat -------------------------------------------------------------------------------- /normalusage/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /normalusage/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/build.gradle -------------------------------------------------------------------------------- /normalusage/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/proguard-rules.pro -------------------------------------------------------------------------------- /normalusage/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /normalusage/src/main/java/com/ai/router/normalusage/Main2Activity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/java/com/ai/router/normalusage/Main2Activity.java -------------------------------------------------------------------------------- /normalusage/src/main/java/com/ai/router/normalusage/Main3Activity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/java/com/ai/router/normalusage/Main3Activity.java -------------------------------------------------------------------------------- /normalusage/src/main/java/com/ai/router/normalusage/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/java/com/ai/router/normalusage/MainActivity.java -------------------------------------------------------------------------------- /normalusage/src/main/java/com/ai/router/normalusage/RouterApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/java/com/ai/router/normalusage/RouterApplication.java -------------------------------------------------------------------------------- /normalusage/src/main/java/com/ai/router/normalusage/RouterManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/java/com/ai/router/normalusage/RouterManager.java -------------------------------------------------------------------------------- /normalusage/src/main/java/com/ai/router/normalusage/base/IRoute.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/java/com/ai/router/normalusage/base/IRoute.java -------------------------------------------------------------------------------- /normalusage/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /normalusage/src/main/res/layout/activity_main2.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/res/layout/activity_main2.xml -------------------------------------------------------------------------------- /normalusage/src/main/res/layout/activity_main3.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/res/layout/activity_main3.xml -------------------------------------------------------------------------------- /normalusage/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /normalusage/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /normalusage/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /normalusage/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /normalusage/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /normalusage/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/res/values-w820dp/dimens.xml -------------------------------------------------------------------------------- /normalusage/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /normalusage/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/res/values/dimens.xml -------------------------------------------------------------------------------- /normalusage/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /normalusage/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/normalusage/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /router/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /router/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/router/build.gradle -------------------------------------------------------------------------------- /router/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/router/proguard-rules.pro -------------------------------------------------------------------------------- /router/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/router/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /router/src/main/java/com/ai/router/IRoute.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/router/src/main/java/com/ai/router/IRoute.java -------------------------------------------------------------------------------- /router/src/main/java/com/ai/router/RouterManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/router/src/main/java/com/ai/router/RouterManager.java -------------------------------------------------------------------------------- /router/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/router/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /sample/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /sample/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/build.gradle -------------------------------------------------------------------------------- /sample/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/proguard-rules.pro -------------------------------------------------------------------------------- /sample/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /sample/src/main/java/com/ai/simplerouterdemo/Main2Activity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/java/com/ai/simplerouterdemo/Main2Activity.java -------------------------------------------------------------------------------- /sample/src/main/java/com/ai/simplerouterdemo/Main3Activity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/java/com/ai/simplerouterdemo/Main3Activity.java -------------------------------------------------------------------------------- /sample/src/main/java/com/ai/simplerouterdemo/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/java/com/ai/simplerouterdemo/MainActivity.java -------------------------------------------------------------------------------- /sample/src/main/java/com/ai/simplerouterdemo/RouterApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/java/com/ai/simplerouterdemo/RouterApplication.java -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_main2.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/res/layout/activity_main2.xml -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_main3.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/res/layout/activity_main3.xml -------------------------------------------------------------------------------- /sample/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/res/values-w820dp/dimens.xml -------------------------------------------------------------------------------- /sample/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /sample/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/res/values/dimens.xml -------------------------------------------------------------------------------- /sample/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /sample/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/sample/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCtomorrow/SimpleRouterDemo/HEAD/settings.gradle -------------------------------------------------------------------------------- /version.gradle: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------