Commit faa31461 authored by linfeng's avatar linfeng

配置文件

parent ec291bde
......@@ -45,5 +45,6 @@ dependencies {
api project(path: ':RvTravel')
api project(path: ':RvHome')
api project(path: ':RvMine')
}
......@@ -322,6 +322,22 @@
</receiver>
<!-- ===============================FrameBase框架End=========================== -->
<!--=================================================================-->
<!-- 我的模块 -->
<activity
android:name="com.rv.rvmine.MineActivity"
android:launchMode="singleTask"
android:screenOrientation="portrait" />
<!--身份证认证-->
<activity android:name="com.rv.rvmine.IDCardCertificationActivity"
android:launchMode="singleTask"
android:screenOrientation="portrait" />
<!--=================================================================-->
</application>
</manifest>
\ No newline at end of file
......@@ -7,6 +7,7 @@ import com.frame.base.FrameApp;
import com.frame.rv.ModuleChangeUtil;
import com.frame.rv.OnModuleChangedListener;
import com.rv.home.rv.module.ui.main.HomeActivity;
import com.rv.rvmine.MineActivity;
import com.rv.travel.TravelActivity;
public class ModuleUtil {
......@@ -48,9 +49,11 @@ public class ModuleUtil {
break;
case OnModuleChangedListener.MODULE_MINE:
if (currentModule == OnModuleChangedListener.MODULE_MINE) return;
//Toast.makeText(FrameApp.getInstance(), "我的", Toast.LENGTH_SHORT).show();
if (ModuleChangeUtil.currentActivity != null) {
IntentUtil.goActivityWithAnimationAlpha(ModuleChangeUtil.currentActivity, MineActivity.class);
} else {
IntentUtil.startActivity(FrameApp.getInstance(), MineActivity.class);
}
break;
}
currentModule = module;
......
......@@ -10,5 +10,6 @@ include ':Resource'
include ':Utils'
include ':MyFrame'
include ':Banner'
include ':RvMine'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment