├── .gitignore ├── .idea ├── caches │ └── build_file_checksums.ser ├── codeStyles │ └── Project.xml ├── gradle.xml ├── inspectionProfiles │ └── Project_Default.xml ├── misc.xml ├── modules.xml ├── runConfigurations.xml └── vcs.xml ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ └── res │ ├── drawable │ └── ic_launcher_round.png │ └── values │ ├── colors.xml │ ├── strings.xml │ └── styles.xml ├── baselibrary ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── arouter │ │ └── baselibrary │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── arouter │ │ │ └── baselibrary │ │ │ ├── DegradeServiceImpl.java │ │ │ ├── IUserInfo.java │ │ │ ├── MyApplication.java │ │ │ ├── RoutePath.java │ │ │ ├── activity │ │ │ ├── AuthTipActivity.java │ │ │ └── DegradeTipActivity.java │ │ │ ├── base │ │ │ ├── BaseActivity.java │ │ │ └── BaseFragment.java │ │ │ └── interceptor │ │ │ └── AuthInterceptor.java │ └── res │ │ ├── layout │ │ ├── activity_auth_tip.xml │ │ └── activity_degrade_tip.xml │ │ └── values │ │ └── strings.xml │ └── test │ └── java │ └── com │ └── arouter │ └── baselibrary │ └── ExampleUnitTest.java ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── module_home ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── arouter │ │ └── module_home │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── buildApp │ │ └── AndroidManifest.xml │ ├── buildModule │ │ └── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── arouter │ │ │ └── module_home │ │ │ ├── HomeActivity.java │ │ │ └── HomeFragment.java │ └── res │ │ ├── drawable │ │ └── ic_launcher_round.png │ │ ├── layout │ │ └── activity_home.xml │ │ └── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── arouter │ └── module_home │ └── ExampleUnitTest.java ├── module_main ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── buildApp │ └── AndroidManifest.xml │ ├── buildModule │ └── AndroidManifest.xml │ ├── java │ └── com │ │ └── arouter │ │ └── module_main │ │ ├── LoginActivity.java │ │ ├── MainActivity.java │ │ ├── SplashActivity.java │ │ └── TabSpec.java │ └── res │ ├── color │ └── selector_tab_text.xml │ ├── drawable-hdpi │ ├── ic_launcher.png │ ├── ic_launcher_round.png │ └── splash.jpg │ ├── drawable-v24 │ └── ic_launcher_foreground.xml │ ├── drawable-xhdpi │ ├── ic_home_black.png │ ├── ic_home_red.png │ ├── ic_launcher.png │ ├── ic_launcher_round.png │ ├── ic_mine_black.png │ ├── ic_mine_red.png │ ├── ic_video_black.png │ └── ic_video_red.png │ ├── drawable │ ├── ic_launcher_background.xml │ └── selector_tab_text.xml │ ├── layout │ ├── activity_login.xml │ ├── activity_main.xml │ ├── activity_splash.xml │ └── tabcontent.xml │ └── values │ ├── colors.xml │ ├── strings.xml │ └── styles.xml ├── module_mine ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── arouter │ │ └── module_mine │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── buildApp │ │ └── AndroidManifest.xml │ ├── buildModule │ │ └── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── arouter │ │ │ └── module_mine │ │ │ ├── MineFragment.java │ │ │ └── UserInfoImpl.java │ └── res │ │ ├── drawable │ │ └── ic_launcher_round.png │ │ ├── layout │ │ └── activity_mine.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── arouter │ └── module_mine │ └── ExampleUnitTest.java ├── module_route ├── .gitignore ├── build.gradle └── src │ └── main │ └── java │ └── com │ └── aroute │ └── module_route │ ├── HomeRoutePath.java │ ├── MainRoutePath.java │ ├── MineRoutePath.java │ └── VideoRoutePath.java ├── module_video ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── arouter │ │ └── module_video │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── buildApp │ │ └── AndroidManifest.xml │ ├── buildModule │ │ └── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── arouter │ │ │ └── module_video │ │ │ ├── VideoActivity.java │ │ │ └── VideoFragment.java │ └── res │ │ ├── drawable │ │ └── ic_launcher_round.png │ │ ├── layout │ │ └── activity_video.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── arouter │ └── module_video │ └── ExampleUnitTest.java └── settings.gradle /.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 | -------------------------------------------------------------------------------- /.idea/caches/build_file_checksums.ser: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanchenyan/AppModuleDemo/f49edf091ca1da32a396d6e0dea7d63d3b5a38fa/.idea/caches/build_file_checksums.ser -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 15 | 16 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 23 | 24 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 36 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 27 | 28 | 29 | 30 | 31 | 32 | 34 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # AppModuleDemo 2 | Module通讯采用阿里ARouter 3 | 4 | Android 模块化开发 5 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 27 5 | defaultConfig { 6 | applicationId "com.arouter.arouterdemo" 7 | minSdkVersion 21 8 | targetSdkVersion 27 9 | versionCode 1 10 | versionName "1.0" 11 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 12 | javaCompileOptions { 13 | annotationProcessorOptions { 14 | arguments = [AROUTER_MODULE_NAME: project.getName()] 15 | } 16 | } 17 | } 18 | buildTypes { 19 | release { 20 | minifyEnabled false 21 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 22 | } 23 | } 24 | } 25 | 26 | 27 | 28 | 29 | dependencies { 30 | 31 | if (!isModule.toBoolean()) { 32 | implementation project(':module_home') 33 | implementation project(':module_video') 34 | implementation project(':module_main') 35 | implementation project(':module_mine') 36 | implementation project(':module_route') 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /app/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 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanchenyan/AppModuleDemo/f49edf091ca1da32a396d6e0dea7d63d3b5a38fa/app/src/main/res/drawable/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Arouter 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /baselibrary/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /baselibrary/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | compileSdkVersion 27 5 | 6 | defaultConfig { 7 | minSdkVersion 19 8 | targetSdkVersion 27 9 | versionCode 1 10 | versionName "1.0" 11 | 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 13 | javaCompileOptions { 14 | annotationProcessorOptions { 15 | arguments = [AROUTER_MODULE_NAME: project.getName()] 16 | } 17 | } 18 | } 19 | 20 | buildTypes { 21 | release { 22 | minifyEnabled false 23 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 24 | } 25 | } 26 | 27 | } 28 | 29 | dependencies { 30 | 31 | implementation fileTree(include: ['*.jar'], dir: 'libs') 32 | implementation 'com.android.support:appcompat-v7:27.1.1' 33 | implementation 'com.android.support:design:27.1.1' 34 | testImplementation 'junit:junit:4.12' 35 | androidTestImplementation 'com.android.support.test:runner:1.0.2' 36 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' 37 | compile 'com.android.support:support-v4:27.1.1' 38 | compile 'com.alibaba:arouter-api:1.4.1' 39 | annotationProcessor 'com.alibaba:arouter-compiler:1.2.2' 40 | 41 | } 42 | -------------------------------------------------------------------------------- /baselibrary/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 | -------------------------------------------------------------------------------- /baselibrary/src/androidTest/java/com/arouter/baselibrary/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.arouter.baselibrary; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.arouter.baselibrary.test", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /baselibrary/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /baselibrary/src/main/java/com/arouter/baselibrary/DegradeServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.arouter.baselibrary; 2 | 3 | import android.content.Context; 4 | 5 | import com.alibaba.android.arouter.facade.Postcard; 6 | import com.alibaba.android.arouter.facade.annotation.Route; 7 | import com.alibaba.android.arouter.facade.service.DegradeService; 8 | import com.alibaba.android.arouter.launcher.ARouter; 9 | 10 | /** 11 | * 12 | * 要用ARouter跳转才能拦截到,用Intent隐式或显示跳转无法拦截,出错还是会crash 13 | */ 14 | @Route(path = RoutePath.DEGRADE) 15 | public class DegradeServiceImpl implements DegradeService { 16 | @Override 17 | public void onLost(Context context, Postcard postcard) { 18 | ARouter.getInstance().build(RoutePath.DEGRADE_TIP).greenChannel().navigation(); 19 | } 20 | 21 | @Override 22 | public void init(Context context) { 23 | 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /baselibrary/src/main/java/com/arouter/baselibrary/IUserInfo.java: -------------------------------------------------------------------------------- 1 | package com.arouter.baselibrary; 2 | 3 | import com.alibaba.android.arouter.facade.template.IProvider; 4 | 5 | /** 6 | * 服务管理: 用于模块之间进行数据的传递,例如:首页模块没依赖我的模块,但是需要获取我的模块的数据,就是用这个 7 | */ 8 | public interface IUserInfo extends IProvider { 9 | String getName(); 10 | } 11 | -------------------------------------------------------------------------------- /baselibrary/src/main/java/com/arouter/baselibrary/MyApplication.java: -------------------------------------------------------------------------------- 1 | package com.arouter.baselibrary; 2 | 3 | import android.app.Application; 4 | 5 | import com.alibaba.android.arouter.launcher.ARouter; 6 | 7 | /** 8 | * Application 9 | */ 10 | public class MyApplication extends Application { 11 | 12 | private static MyApplication instance; 13 | 14 | /** 15 | * 权限token 登录后获得 16 | */ 17 | private String authToken; 18 | 19 | public static MyApplication getInstance() { 20 | return instance; 21 | } 22 | 23 | 24 | @Override 25 | public void onCreate() { 26 | super.onCreate(); 27 | instance = this; 28 | initRouter(this); 29 | } 30 | 31 | private void initRouter(MyApplication myApplication) { 32 | if (BuildConfig.DEBUG) { 33 | ARouter.openLog(); // 打印日志 34 | ARouter.openDebug(); // 开启调试模式(如果在InstantRun模式下运行,必须开启调试模式!线上版本需要关闭,否则有安全风险) 35 | } 36 | ARouter.init(myApplication); 37 | } 38 | 39 | @Override 40 | public void onTerminate() { 41 | super.onTerminate(); 42 | ARouter.getInstance().destroy(); 43 | } 44 | 45 | public String getAuthToken() { 46 | return authToken; 47 | } 48 | 49 | public void setAuthToken(String authToken) { 50 | this.authToken = authToken; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /baselibrary/src/main/java/com/arouter/baselibrary/RoutePath.java: -------------------------------------------------------------------------------- 1 | package com.arouter.baselibrary; 2 | 3 | public class RoutePath { 4 | 5 | private static final String PREFIX = "/base/"; 6 | 7 | public static final String AUTH_TIP_ACTIVITY = PREFIX+"AuthTipActivity"; 8 | public static final String DEGRADE = PREFIX+"DegradeService"; 9 | public static final String DEGRADE_TIP = PREFIX+"DegradeTipActivity"; 10 | } 11 | -------------------------------------------------------------------------------- /baselibrary/src/main/java/com/arouter/baselibrary/activity/AuthTipActivity.java: -------------------------------------------------------------------------------- 1 | package com.arouter.baselibrary.activity; 2 | 3 | import android.os.Bundle; 4 | import android.view.View; 5 | import android.widget.Button; 6 | 7 | import com.alibaba.android.arouter.facade.annotation.Route; 8 | import com.alibaba.android.arouter.launcher.ARouter; 9 | import com.arouter.baselibrary.R; 10 | import com.arouter.baselibrary.RoutePath; 11 | import com.arouter.baselibrary.base.BaseActivity; 12 | 13 | /** 14 | * 无权限访问提示页面 15 | */ 16 | @Route(path = RoutePath.AUTH_TIP_ACTIVITY) 17 | public class AuthTipActivity extends BaseActivity { 18 | 19 | @Override 20 | protected void onCreate(Bundle savedInstanceState) { 21 | super.onCreate(savedInstanceState); 22 | setContentView(R.layout.activity_auth_tip); 23 | 24 | final Button btnBack = findViewById(R.id.btn_back); 25 | btnBack.setOnClickListener(new View.OnClickListener() { 26 | @Override 27 | public void onClick(View v) { 28 | onBackPressed(); 29 | } 30 | }); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /baselibrary/src/main/java/com/arouter/baselibrary/activity/DegradeTipActivity.java: -------------------------------------------------------------------------------- 1 | package com.arouter.baselibrary.activity; 2 | 3 | import android.os.Bundle; 4 | import android.view.View; 5 | import android.widget.Button; 6 | 7 | import com.alibaba.android.arouter.facade.annotation.Route; 8 | import com.arouter.baselibrary.R; 9 | import com.arouter.baselibrary.RoutePath; 10 | import com.arouter.baselibrary.base.BaseActivity; 11 | 12 | /** 13 | * 策略降级提示页面 14 | */ 15 | @Route(path = RoutePath.DEGRADE_TIP) 16 | public class DegradeTipActivity extends BaseActivity { 17 | 18 | @Override 19 | protected void onCreate(Bundle savedInstanceState) { 20 | super.onCreate(savedInstanceState); 21 | setContentView(R.layout.activity_degrade_tip); 22 | 23 | final Button btnBack = findViewById(R.id.btn_back); 24 | btnBack.setOnClickListener(new View.OnClickListener() { 25 | @Override 26 | public void onClick(View v) { 27 | onBackPressed(); 28 | } 29 | }); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /baselibrary/src/main/java/com/arouter/baselibrary/base/BaseActivity.java: -------------------------------------------------------------------------------- 1 | package com.arouter.baselibrary.base; 2 | 3 | import android.os.Bundle; 4 | import android.support.v7.app.AppCompatActivity; 5 | 6 | import com.alibaba.android.arouter.launcher.ARouter; 7 | 8 | /** 9 | * 所有Actvity都继承BaseActivity 10 | */ 11 | public class BaseActivity extends AppCompatActivity { 12 | @Override 13 | protected void onCreate(Bundle savedInstanceState) { 14 | super.onCreate(savedInstanceState); 15 | ARouter.getInstance().inject(this); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /baselibrary/src/main/java/com/arouter/baselibrary/base/BaseFragment.java: -------------------------------------------------------------------------------- 1 | package com.arouter.baselibrary.base; 2 | 3 | import android.content.Context; 4 | import android.os.Bundle; 5 | import android.support.annotation.Nullable; 6 | import android.support.v4.app.Fragment; 7 | 8 | import com.alibaba.android.arouter.launcher.ARouter; 9 | 10 | /** 11 | * 所有Fragment都继承BaseFragment 12 | */ 13 | public class BaseFragment extends Fragment{ 14 | 15 | @Override 16 | public void onCreate(@Nullable Bundle savedInstanceState) { 17 | super.onCreate(savedInstanceState); 18 | ARouter.getInstance().inject(this); 19 | } 20 | 21 | @Override 22 | public void onAttach(Context context) { 23 | super.onAttach(context); 24 | ARouter.getInstance().inject(context); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /baselibrary/src/main/java/com/arouter/baselibrary/interceptor/AuthInterceptor.java: -------------------------------------------------------------------------------- 1 | package com.arouter.baselibrary.interceptor; 2 | 3 | import android.content.Context; 4 | 5 | import com.alibaba.android.arouter.facade.Postcard; 6 | import com.alibaba.android.arouter.facade.annotation.Interceptor; 7 | import com.alibaba.android.arouter.facade.callback.InterceptorCallback; 8 | import com.alibaba.android.arouter.facade.template.IInterceptor; 9 | import com.alibaba.android.arouter.launcher.ARouter; 10 | import com.arouter.baselibrary.MyApplication; 11 | import com.arouter.baselibrary.RoutePath; 12 | 13 | /** 14 | * 15 | * 权限校验拦截器 16 | */ 17 | @Interceptor(priority = 1) 18 | public class AuthInterceptor implements IInterceptor { 19 | 20 | @Override 21 | public void process(Postcard postcard, InterceptorCallback callback) { 22 | /** 23 | * 是否有登录判断 24 | */ 25 | if (MyApplication.getInstance().getAuthToken()!=null) { 26 | callback.onContinue(postcard); 27 | } else { 28 | callback.onInterrupt(new RuntimeException("未登录的非法访问")); 29 | ARouter.getInstance().build(RoutePath.AUTH_TIP_ACTIVITY).greenChannel().navigation(); 30 | } 31 | } 32 | 33 | @Override 34 | public void init(Context context) { 35 | 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /baselibrary/src/main/res/layout/activity_auth_tip.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 16 | 17 |