├── appbox ├── .gitignore ├── src │ └── main │ │ ├── res │ │ ├── values │ │ │ ├── strings.xml │ │ │ ├── colors.xml │ │ │ └── styles.xml │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ ├── layout │ │ │ └── activity_main.xml │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ └── drawable │ │ │ └── ic_launcher_background.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── easy │ │ └── moduler │ │ └── appbox │ │ ├── App.java │ │ └── MainActivity.java ├── proguard-rules.pro └── build.gradle ├── apt ├── .gitignore ├── src │ └── main │ │ └── java │ │ └── com │ │ └── easy │ │ └── moduler │ │ └── apt │ │ ├── util │ │ ├── NoPackageNameException.java │ │ └── Utils.java │ │ ├── inter │ │ └── IProcessor.java │ │ ├── AnnotationProcessor.java │ │ └── processor │ │ └── RouterRuleProcessor.java └── build.gradle ├── lib ├── .gitignore ├── src │ └── main │ │ ├── res │ │ └── values │ │ │ └── strings.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── easy │ │ └── moduler │ │ └── lib │ │ ├── okbus │ │ ├── Event.java │ │ ├── CallBack.java │ │ ├── IModule.java │ │ ├── NoticeService.java │ │ ├── ClientHandler.java │ │ ├── BaseAppModuleApp.java │ │ ├── MessengerService.java │ │ ├── ServiceHandler.java │ │ ├── BaseModule.java │ │ ├── ServiceBus.java │ │ └── OkBus.java │ │ ├── router │ │ ├── IRouterRulesCreator.java │ │ ├── IRouterInterceptor.java │ │ ├── RouteUtils.java │ │ └── Router.java │ │ ├── utils │ │ ├── StringUtils.java │ │ └── LogUtils.java │ │ └── Constants.java ├── proguard-rules.pro └── build.gradle ├── module_a ├── .gitignore ├── src │ └── main │ │ ├── res │ │ ├── values │ │ │ ├── strings.xml │ │ │ ├── colors.xml │ │ │ └── styles.xml │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ ├── layout │ │ │ └── activity_amodule.xml │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ └── drawable │ │ │ └── ic_launcher_background.xml │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── easy │ │ │ └── moduler │ │ │ └── module_a │ │ │ ├── Module.java │ │ │ └── AModuleActivity.java │ │ └── debug │ │ └── AndroidManifest.xml ├── proguard-rules.pro └── build.gradle ├── module_b ├── .gitignore ├── src │ └── main │ │ ├── res │ │ ├── values │ │ │ ├── strings.xml │ │ │ ├── colors.xml │ │ │ └── styles.xml │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ ├── layout │ │ │ └── activity_bmodule.xml │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ └── drawable │ │ │ └── ic_launcher_background.xml │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── easy │ │ │ └── moduler │ │ │ └── module_b │ │ │ ├── Module.java │ │ │ └── BModuleActivity.java │ │ └── debug │ │ └── AndroidManifest.xml ├── proguard-rules.pro └── build.gradle ├── module_service ├── .gitignore ├── src │ └── main │ │ ├── res │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── values │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ ├── styles.xml │ │ │ └── strings.xml │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ ├── layout │ │ │ └── activity_login.xml │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ └── drawable │ │ │ └── ic_launcher_background.xml │ │ ├── java │ │ └── com │ │ │ └── easy │ │ │ └── moduler │ │ │ └── module_service │ │ │ ├── Module.java │ │ │ └── LoginActivity.java │ │ ├── AndroidManifest.xml │ │ └── debug │ │ └── AndroidManifest.xml ├── proguard-rules.pro └── build.gradle ├── annotation ├── build │ ├── tmp │ │ └── jar │ │ │ └── MANIFEST.MF │ ├── libs │ │ └── annotation.jar │ └── classes │ │ └── java │ │ └── main │ │ └── com │ │ └── easy │ │ └── moduler │ │ └── annotation │ │ ├── Bus.class │ │ └── RouterRule.class ├── build.gradle └── src │ └── main │ └── java │ └── com │ └── easy │ └── moduler │ └── annotation │ ├── RouterRule.java │ └── Bus.java ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── .idea ├── encodings.xml ├── vcs.xml ├── runConfigurations.xml ├── gradle.xml ├── modules.xml └── misc.xml ├── gradle.properties ├── gradlew.bat ├── gradlew ├── 调研.MD └── README.MD /appbox/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /apt/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /lib/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /module_a/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /module_b/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /module_service/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /annotation/build/tmp/jar/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | 3 | -------------------------------------------------------------------------------- /lib/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Lib 3 | 4 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':lib', ':annotation', ':apt', ':module_service', ':module_a', ':module_b', ':appbox' 2 | -------------------------------------------------------------------------------- /appbox/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | AppBox 3 | 4 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /module_a/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | module_a 3 | 4 | -------------------------------------------------------------------------------- /module_b/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | module_b 3 | 4 | -------------------------------------------------------------------------------- /annotation/build/libs/annotation.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/annotation/build/libs/annotation.jar -------------------------------------------------------------------------------- /appbox/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/appbox/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /appbox/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/appbox/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /lib/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | -------------------------------------------------------------------------------- /appbox/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/appbox/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /appbox/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/appbox/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /appbox/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/appbox/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /module_a/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_a/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /module_a/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_a/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /module_a/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_a/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /module_b/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_b/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /module_b/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_b/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /module_b/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_b/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /module_a/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_a/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /module_a/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_a/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /module_b/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_b/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /module_b/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_b/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /appbox/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/appbox/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /appbox/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/appbox/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /appbox/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/appbox/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /appbox/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/appbox/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_a/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_a/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_a/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_a/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_b/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_b/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_b/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_b/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_service/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_service/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /module_service/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_service/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /appbox/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/appbox/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_a/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_a/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_a/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_a/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_b/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_b/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_b/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_b/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_service/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_service/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /module_service/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_service/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /module_a/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_a/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_b/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_b/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_service/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_service/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /module_service/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_service/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_service/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_service/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_service/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_service/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_service/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_service/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /module_service/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/module_service/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /annotation/build/classes/java/main/com/easy/moduler/annotation/Bus.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/annotation/build/classes/java/main/com/easy/moduler/annotation/Bus.class -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /annotation/build/classes/java/main/com/easy/moduler/annotation/RouterRule.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/north2016/Moduler/HEAD/annotation/build/classes/java/main/com/easy/moduler/annotation/RouterRule.class -------------------------------------------------------------------------------- /annotation/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java-library' 2 | 3 | dependencies { 4 | implementation fileTree(dir: 'libs', include: ['*.jar']) 5 | } 6 | 7 | sourceCompatibility = "1.7" 8 | targetCompatibility = "1.7" 9 | -------------------------------------------------------------------------------- /appbox/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /module_a/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /module_b/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /module_service/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /module_service/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /lib/src/main/java/com/easy/moduler/lib/okbus/Event.java: -------------------------------------------------------------------------------- 1 | package com.easy.moduler.lib.okbus; 2 | 3 | import android.os.Message; 4 | 5 | /** 6 | * Created by baixiaokang on 16/11/15. 7 | */ 8 | 9 | public interface Event { 10 | void call(Message msg); 11 | } 12 | -------------------------------------------------------------------------------- /lib/src/main/java/com/easy/moduler/lib/okbus/CallBack.java: -------------------------------------------------------------------------------- 1 | package com.easy.moduler.lib.okbus; 2 | 3 | import android.os.Message; 4 | 5 | /** 6 | * Created by baixiaokang on 18/3/2. 7 | */ 8 | 9 | public interface CallBack { 10 | T onCall(Message msg); 11 | } 12 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Mar 06 10:32:20 CST 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip 7 | -------------------------------------------------------------------------------- /lib/src/main/java/com/easy/moduler/lib/router/IRouterRulesCreator.java: -------------------------------------------------------------------------------- 1 | package com.easy.moduler.lib.router; 2 | 3 | import android.app.Activity; 4 | 5 | import java.util.Map; 6 | 7 | public interface IRouterRulesCreator { 8 | void initRule(Map> rules); 9 | } 10 | -------------------------------------------------------------------------------- /lib/src/main/java/com/easy/moduler/lib/router/IRouterInterceptor.java: -------------------------------------------------------------------------------- 1 | package com.easy.moduler.lib.router; 2 | 3 | import android.content.Context; 4 | import android.content.Intent; 5 | 6 | 7 | public interface IRouterInterceptor { 8 | boolean intercept(Context context, String url, Intent matchIntent); 9 | } 10 | -------------------------------------------------------------------------------- /appbox/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /module_a/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /module_b/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /appbox/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /module_a/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /module_b/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /module_service/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /module_service/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /module_a/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /module_b/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /apt/src/main/java/com/easy/moduler/apt/util/NoPackageNameException.java: -------------------------------------------------------------------------------- 1 | package com.easy.moduler.apt.util; 2 | 3 | import javax.lang.model.element.TypeElement; 4 | 5 | public class NoPackageNameException extends Exception { 6 | 7 | public NoPackageNameException(TypeElement typeElement) { 8 | super("The package of " + typeElement.getSimpleName() + " has no name"); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /apt/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java' 2 | 3 | sourceCompatibility = JavaVersion.VERSION_1_7 4 | targetCompatibility = JavaVersion.VERSION_1_7 5 | 6 | dependencies { 7 | compile project(':annotation') 8 | compile 'com.google.auto.service:auto-service:1.0-rc3' 9 | compile 'com.squareup:javapoet:1.9.0' 10 | } 11 | 12 | tasks.withType(JavaCompile) { 13 | options.encoding = "UTF-8" 14 | } 15 | -------------------------------------------------------------------------------- /annotation/src/main/java/com/easy/moduler/annotation/RouterRule.java: -------------------------------------------------------------------------------- 1 | package com.easy.moduler.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Retention(RetentionPolicy.CLASS) 9 | @Target(ElementType.TYPE) 10 | public @interface RouterRule { 11 | String[] value(); 12 | } 13 | -------------------------------------------------------------------------------- /apt/src/main/java/com/easy/moduler/apt/inter/IProcessor.java: -------------------------------------------------------------------------------- 1 | package com.easy.moduler.apt.inter; 2 | 3 | 4 | import com.easy.moduler.apt.AnnotationProcessor; 5 | 6 | import javax.annotation.processing.RoundEnvironment; 7 | 8 | /** 9 | * Created by baixiaokang on 16/10/8. 10 | * 注解处理器接口 11 | */ 12 | 13 | public interface IProcessor { 14 | void process(RoundEnvironment roundEnv, AnnotationProcessor mAbstractProcessor); 15 | } 16 | -------------------------------------------------------------------------------- /appbox/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /module_a/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /module_b/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /module_service/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /lib/src/main/java/com/easy/moduler/lib/okbus/IModule.java: -------------------------------------------------------------------------------- 1 | package com.easy.moduler.lib.okbus; 2 | 3 | /** 4 | * Created by baixiaokang on 18/3/6. 5 | */ 6 | 7 | public interface IModule { 8 | /** 9 | * 模块初始化,只有组建时才调用,用于开启子线程轮训消息 10 | */ 11 | void init(); 12 | 13 | /** 14 | * 模块ID 15 | * 16 | * @return 模块ID 17 | */ 18 | int getModuleId(); 19 | 20 | /** 21 | * 模块注册并连接成功后,可以做以下事情: 22 | *

23 | * 1、注册监听事件 24 | * 2、发送事件 25 | * 3、注册服务 26 | * 4、调用服务 27 | */ 28 | void afterConnected(); 29 | } 30 | -------------------------------------------------------------------------------- /lib/src/main/java/com/easy/moduler/lib/utils/StringUtils.java: -------------------------------------------------------------------------------- 1 | package com.easy.moduler.lib.utils; 2 | 3 | /** 4 | * Created by baixiaokang on 18/3/6. 5 | */ 6 | 7 | public class StringUtils { 8 | /** 9 | * 比较字符串不记大小写是否相同 10 | * 11 | * @param string1 12 | * @param string2 13 | * @return 14 | */ 15 | public static boolean equalsIgnoreCase(String string1, String string2) { 16 | if (string1 == string2) return true; 17 | if (string1 == null) return false; 18 | return string1.equalsIgnoreCase(string2); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /module_b/src/main/java/com/easy/moduler/module_b/Module.java: -------------------------------------------------------------------------------- 1 | package com.easy.moduler.module_b; 2 | 3 | import com.easy.moduler.lib.Constants; 4 | import com.easy.moduler.lib.okbus.BaseModule; 5 | import com.easy.moduler.lib.okbus.IModule; 6 | import com.google.auto.service.AutoService; 7 | 8 | /** 9 | * Created by baixiaokang on 18/3/6. 10 | */ 11 | 12 | @AutoService(IModule.class) 13 | public class Module extends BaseModule { 14 | @Override 15 | public void afterConnected() { 16 | 17 | 18 | } 19 | 20 | @Override 21 | public int getModuleId() { 22 | return Constants.MODULE_B; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /module_service/src/main/java/com/easy/moduler/module_service/Module.java: -------------------------------------------------------------------------------- 1 | package com.easy.moduler.module_service; 2 | 3 | import com.easy.moduler.lib.Constants; 4 | import com.easy.moduler.lib.okbus.BaseModule; 5 | import com.easy.moduler.lib.okbus.IModule; 6 | import com.google.auto.service.AutoService; 7 | 8 | /** 9 | * Created by baixiaokang on 18/3/6. 10 | */ 11 | 12 | @AutoService(IModule.class) 13 | public class Module extends BaseModule { 14 | @Override 15 | public void afterConnected() { 16 | 17 | } 18 | 19 | @Override 20 | public int getModuleId() { 21 | return Constants.MODULE_S; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /module_service/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /annotation/src/main/java/com/easy/moduler/annotation/Bus.java: -------------------------------------------------------------------------------- 1 | package com.easy.moduler.annotation; 2 | 3 | /** 4 | * Created by baixiaokang on 16/11/15. 5 | */ 6 | 7 | import java.lang.annotation.ElementType; 8 | import java.lang.annotation.Retention; 9 | import java.lang.annotation.RetentionPolicy; 10 | import java.lang.annotation.Target; 11 | 12 | 13 | @Retention(RetentionPolicy.RUNTIME) 14 | @Target(ElementType.METHOD) 15 | public @interface Bus { 16 | int DEFAULT = -1; 17 | int UI = 0; 18 | int BG = 1; 19 | 20 | /** 21 | * 事件订阅的线程 22 | * 23 | * @return 24 | */ 25 | int thread() default DEFAULT; 26 | 27 | /** 28 | * 事件id 29 | * 30 | * @return 31 | */ 32 | int value(); 33 | } 34 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | 19 | 20 | isDebug=false -------------------------------------------------------------------------------- /appbox/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /appbox/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /lib/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /module_a/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /module_b/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /module_service/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /module_service/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | module_service 3 | 4 | 5 | Email 6 | Password (optional) 7 | Sign in or register 8 | Sign in 9 | This email address is invalid 10 | This password is too short 11 | This password is incorrect 12 | This field is required 13 | "Contacts permissions are needed for providing email 14 | completions." 15 | 16 | 17 | -------------------------------------------------------------------------------- /appbox/src/main/java/com/easy/moduler/appbox/App.java: -------------------------------------------------------------------------------- 1 | package com.easy.moduler.appbox; 2 | 3 | import android.app.Application; 4 | 5 | import com.easy.moduler.lib.okbus.IModule; 6 | import com.easy.moduler.lib.router.IRouterRulesCreator; 7 | import com.easy.moduler.lib.router.Router; 8 | 9 | import java.util.ServiceLoader; 10 | 11 | /** 12 | * Created by baixiaokang on 18/3/6. 13 | */ 14 | 15 | public class App extends Application { 16 | @Override 17 | public void onCreate() { 18 | super.onCreate(); 19 | 20 | //SPI自动注册路由 21 | ServiceLoader rules = ServiceLoader.load(IRouterRulesCreator.class); 22 | for (IRouterRulesCreator rule : rules) Router.addRouterRule(rule); 23 | 24 | //SPI自动注册服务 25 | ServiceLoader modules = ServiceLoader.load(IModule.class); 26 | for (IModule module : modules) module.afterConnected(); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /module_a/src/main/java/com/easy/moduler/module_a/Module.java: -------------------------------------------------------------------------------- 1 | package com.easy.moduler.module_a; 2 | 3 | import com.easy.moduler.lib.Constants; 4 | import com.easy.moduler.lib.okbus.BaseModule; 5 | import com.easy.moduler.lib.okbus.IModule; 6 | import com.easy.moduler.lib.okbus.ServiceBus; 7 | import com.easy.moduler.lib.utils.LogUtils; 8 | import com.google.auto.service.AutoService; 9 | 10 | /** 11 | * Created by baixiaokang on 18/3/6. 12 | */ 13 | 14 | @AutoService(IModule.class) 15 | public class Module extends BaseModule { 16 | 17 | @Override 18 | public void afterConnected() { 19 | 20 | ServiceBus.getInstance().registerService(Constants.SERVICE_A_UID, msg -> { 21 | LogUtils.logOnUI(Constants.TAG, "afterConnected a 进程收到[服务请求]消息:ServiceMessage-->hello: " + Integer.toHexString(Math.abs(msg.what))); 22 | return "10086"; 23 | }); 24 | } 25 | 26 | @Override 27 | public int getModuleId() { 28 | return Constants.MODULE_A; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 23 | 24 | -------------------------------------------------------------------------------- /appbox/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 26 5 | 6 | 7 | defaultConfig { 8 | applicationId "com.easy.moduler.appbox" 9 | minSdkVersion 17 10 | targetSdkVersion 26 11 | versionCode 1 12 | versionName "1.0" 13 | 14 | javaCompileOptions { 15 | annotationProcessorOptions { 16 | includeCompileClasspath false 17 | } 18 | } 19 | } 20 | 21 | 22 | compileOptions { 23 | sourceCompatibility 1.8 24 | targetCompatibility 1.8 25 | } 26 | 27 | buildTypes { 28 | release { 29 | minifyEnabled false 30 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 31 | } 32 | } 33 | 34 | } 35 | 36 | dependencies { 37 | if (isDebug.toBoolean()) {//调试阶段,只保证基本逻辑不报错 38 | implementation project(":lib") 39 | } else {//打包阶段,才真正的引入业务逻辑模块 40 | implementation project(":module_a") 41 | implementation project(":module_b") 42 | implementation project(":module_service") 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /lib/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | compileSdkVersion 26 5 | buildToolsVersion '26.0.2' 6 | 7 | 8 | defaultConfig { 9 | minSdkVersion 17 10 | targetSdkVersion 26 11 | versionCode 1 12 | versionName "1.0" 13 | 14 | javaCompileOptions { 15 | annotationProcessorOptions { 16 | includeCompileClasspath false 17 | } 18 | } 19 | 20 | } 21 | 22 | buildTypes { 23 | release { 24 | minifyEnabled false 25 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 26 | } 27 | } 28 | 29 | compileOptions { 30 | sourceCompatibility JavaVersion.VERSION_1_8 31 | targetCompatibility JavaVersion.VERSION_1_8 32 | } 33 | } 34 | 35 | dependencies { 36 | implementation fileTree(dir: 'libs', include: ['*.jar']) 37 | 38 | compile 'com.google.auto.service:auto-service:1.0-rc3' 39 | compile 'com.android.support:appcompat-v7:26.1.0' 40 | compile 'com.android.support:design:26.1.0' 41 | compile project(":annotation") 42 | 43 | } 44 | -------------------------------------------------------------------------------- /module_a/src/main/res/layout/activity_amodule.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 15 | 21 | 22 | 25 | 26 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /module_b/src/main/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 13 | 14 | 15 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /module_a/src/main/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 13 | 14 | 15 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /module_b/src/main/res/layout/activity_bmodule.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 |