Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
b400651e
Commit
b400651e
authored
Mar 17, 2020
by
徐健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backup
parent
f7e35c52
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
config.gradle
config.gradle
+1
-1
YDLCommonPlugin.kt
ydl-flutter-base/src/main/java/com/channel/ydl_flutter_base/plugin/YDLCommonPlugin.kt
+12
-1
No files found.
config.gradle
View file @
b400651e
ext
{
ext
{
kotlin_version
=
"1.3.21"
kotlin_version
=
"1.3.21"
dev_mode
=
fals
e
dev_mode
=
tru
e
ydl_app
=
[
ydl_app
=
[
appName
:
"心理咨询壹点灵"
,
appName
:
"心理咨询壹点灵"
,
...
...
ydl-flutter-base/src/main/java/com/channel/ydl_flutter_base/plugin/YDLCommonPlugin.kt
View file @
b400651e
package
com.channel.ydl_flutter_base.plugin
package
com.channel.ydl_flutter_base.plugin
import
android.app.Activity
import
android.text.TextUtils
import
android.text.TextUtils
import
com.channel.ydl_flutter_base.base.BaseFlutterFragment
import
com.channel.ydl_flutter_base.base.BaseFlutterFragment
import
com.ydl.burypointlib.BuryPointHelper
import
com.ydl.burypointlib.BuryPointHelper
...
@@ -99,7 +100,17 @@ class YDLCommonPlugin : MethodChannel.MethodCallHandler {
...
@@ -99,7 +100,17 @@ class YDLCommonPlugin : MethodChannel.MethodCallHandler {
field
.
isAccessible
=
true
field
.
isAccessible
=
true
val
property
=
field
.
get
(
ownerClass
)
val
property
=
field
.
get
(
ownerClass
)
if
(
property
is
Boolean
&&
property
)
{
if
(
property
is
Boolean
&&
property
)
{
BuryPointHelper
.
showEditDialog
(
mActivity
,
MD5Util
.
md5
(
clickPath
),
null
)
var
activity
:
Activity
?=
mActivity
if
(
mActivity
==
null
&&
mFragment
!=
null
){
activity
=
mFragment
?.
activity
!!
}
activity
?.
let
{
BuryPointHelper
.
showEditDialog
(
activity
,
MD5Util
.
md5
(
clickPath
),
null
)
}
}
}
}
catch
(
e
:
Exception
)
{
}
catch
(
e
:
Exception
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment