Commit 45c3459d by konghaorui

Merge branch 'feature/组件化_ending' of…

Merge branch 'feature/组件化_ending' of ssh://gitlab.yidianling.com:2224/app_android_lib/YDL-Component into feature/组件化_ending
parents 4f235fea 20f7cb53
......@@ -34,6 +34,7 @@ class TestPlugin : MethodChannel.MethodCallHandler {
const val ADVERT_CLICK = "advertClick" // 实时测评点击
const val TEST_LIST_ITEM_CLICK = "testListItemClick" // 测评列表点击
const val LOOK_ALL_TEST = "lookAllTest" // 查看全部测评
const val IS_HIDE_LEFT_BACK = "hideLeftBackLL" // 是否隐藏标题左侧布局
fun rigister(activity: FlutterActivity) {
MethodChannel(activity.flutterView, CHANNEL).setMethodCallHandler(TestPlugin(activity))
......@@ -90,6 +91,10 @@ class TestPlugin : MethodChannel.MethodCallHandler {
TestCategoryListActivity.start(mActivity!!)
}
}
IS_HIDE_LEFT_BACK -> {
// TODO haorui 是否隐藏标题左侧布局
// result.success(true)
}
}
}
......
......@@ -41,6 +41,7 @@ class YDLCommonPlugin : MethodChannel.MethodCallHandler {
const val GETPUBLICPARAMAS: String = "getPublicParamas"
const val ACTION_PUSH_EVENT_TRACKING_TAP: String = "action_push_event_tracking_tap"// 点击事件埋点
const val ACTION_PUSH_EVENT_TRACKING_PV: String = "action_push_event_tracking_pv"//pv埋点
const val ACTION_ORIGIN_THEME: String = "platform_origin_theme"//马甲包获取应用各个主题色的action
//activity注册
fun activityRegister(activity: FlutterActivity) {
......@@ -116,6 +117,12 @@ class YDLCommonPlugin : MethodChannel.MethodCallHandler {
YdlBuryPointUtil.sendPv(pvPath)
}
}
ACTION_ORIGIN_THEME -> {
val mMap = mutableMapOf<String, String>()
//TODO haorui 添加主题色定义
//mMap["platform_main_theme"] = "#ff0000"
result.success(mMap)
}
}
}
}
\ No newline at end of file
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