Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lib_base
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikang
lib_base
Commits
ef48fb31
Commit
ef48fb31
authored
Jun 28, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix trackListener remove
parent
4304aa39
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
src/main/java/tech/starwin/utils/TrackEventHelper.java
+0
-11
No files found.
src/main/java/tech/starwin/utils/TrackEventHelper.java
View file @
ef48fb31
...
@@ -21,7 +21,6 @@ import tech.starwin.mvp.presenter.UserPresenter;
...
@@ -21,7 +21,6 @@ import tech.starwin.mvp.presenter.UserPresenter;
*/
*/
public
class
TrackEventHelper
{
public
class
TrackEventHelper
{
public
static
final
String
REST_URL
=
"rest_url"
;
public
static
final
String
REST_URL
=
"rest_url"
;
private
static
OnTrackEventListener
onTrackEventListener
=
null
;
private
static
UserPresenter
userPresenter
=
new
UserPresenter
();
private
static
UserPresenter
userPresenter
=
new
UserPresenter
();
/**
/**
...
@@ -60,9 +59,6 @@ public class TrackEventHelper {
...
@@ -60,9 +59,6 @@ public class TrackEventHelper {
// bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE, eventName);
// bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE, eventName);
//FireBase 埋点
//FireBase 埋点
// FirebaseAnalytics.getInstance(context).logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle);
// FirebaseAnalytics.getInstance(context).logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle);
if
(
onTrackEventListener
!=
null
)
{
onTrackEventListener
.
onActionClick
(
eventName
);
}
}
}
/**
/**
...
@@ -72,9 +68,6 @@ public class TrackEventHelper {
...
@@ -72,9 +68,6 @@ public class TrackEventHelper {
//FireBase 埋点
//FireBase 埋点
// FirebaseAnalytics.getInstance(LibConfig.getActivity()).logEvent(eventName, null);
// FirebaseAnalytics.getInstance(LibConfig.getActivity()).logEvent(eventName, null);
userPresenter
.
trackEvent
(
eventName
);
userPresenter
.
trackEvent
(
eventName
);
if
(
onTrackEventListener
!=
null
)
{
onTrackEventListener
.
onActionEvent
(
eventName
);
}
}
}
/**
/**
...
@@ -85,10 +78,6 @@ public class TrackEventHelper {
...
@@ -85,10 +78,6 @@ public class TrackEventHelper {
userPresenter
.
trackEvent
(
event
.
type
(),
event
.
action
(),
event
.
value
());
userPresenter
.
trackEvent
(
event
.
type
(),
event
.
action
(),
event
.
value
());
}
}
public
static
void
setOnTrackEventListener
(
OnTrackEventListener
onTrackEventListener
)
{
TrackEventHelper
.
onTrackEventListener
=
onTrackEventListener
;
}
/**
/**
* 获取FireBase RemoteConfig 并激活
* 获取FireBase RemoteConfig 并激活
*/
*/
...
...
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