Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flutter_boost_1.22.4
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李增强
flutter_boost_1.22.4
Commits
f65d165c
Commit
f65d165c
authored
5 years ago
by
peihan.cph
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Android] 在createEngine增加一个回调,方便在使用测做一些事情(打点之类)
parent
605882d7
master
v1.22.4-hotfixes
1.17.1
1.12.13+3
1.12.13+2
1.12.13+1
1.12.13
1.9.1+2
1.9.1+1
v1.12.13_support+10
v1.12.13_support+9
v1.12.13_support+8
v1.12.13_support+7
v1.12.13_support+6
v1.12.13_support+5
v1.12.13_support+4
v1.12.13_support+3
v1.12.13_support+2
v1.12.13_support+1
v1.12.13_support_xianyu+15
v1.12.13_support_xianyu+14
v1.12.13_support_xianyu+13
v1.12.13_support_xianyu+12
v1.12.13_support_xianyu+11
v1.12.13_support_xianyu+10
v1.9.1_suport+1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
android/src/main/java/com/idlefish/flutterboost/FlutterBoost.java
...src/main/java/com/idlefish/flutterboost/FlutterBoost.java
+6
-0
No files found.
android/src/main/java/com/idlefish/flutterboost/FlutterBoost.java
View file @
f65d165c
...
@@ -141,6 +141,9 @@ public class FlutterBoost {
...
@@ -141,6 +141,9 @@ public class FlutterBoost {
if
(
mEngine
!=
null
)
return
;
if
(
mEngine
!=
null
)
return
;
if
(
mPlatform
.
lifecycleListener
!=
null
)
{
mPlatform
.
lifecycleListener
.
beforeCreateEngine
();
}
FlutterEngine
flutterEngine
=
createEngine
();
FlutterEngine
flutterEngine
=
createEngine
();
if
(
mPlatform
.
lifecycleListener
!=
null
)
{
if
(
mPlatform
.
lifecycleListener
!=
null
)
{
mPlatform
.
lifecycleListener
.
onEngineCreated
();
mPlatform
.
lifecycleListener
.
onEngineCreated
();
...
@@ -343,6 +346,9 @@ public class FlutterBoost {
...
@@ -343,6 +346,9 @@ public class FlutterBoost {
public
interface
BoostLifecycleListener
{
public
interface
BoostLifecycleListener
{
void
beforeCreateEngine
();
void
onEngineCreated
();
void
onEngineCreated
();
void
onPluginsRegistered
();
void
onPluginsRegistered
();
...
...
This diff is collapsed.
Click to expand it.
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