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
ca265ff1
Commit
ca265ff1
authored
Jan 15, 2020
by
龚文硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新的注册方式在onAttach时执行attachToView
parent
3d304739
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
android/src/main/java/com/idlefish/flutterboost/containers/FlutterSplashView.java
...m/idlefish/flutterboost/containers/FlutterSplashView.java
+2
-2
No files found.
android/src/main/java/com/idlefish/flutterboost/containers/FlutterSplashView.java
View file @
ca265ff1
...
@@ -182,7 +182,7 @@ public class FlutterSplashView extends FrameLayout {
...
@@ -182,7 +182,7 @@ public class FlutterSplashView extends FrameLayout {
public
void
onAttach
()
{
public
void
onAttach
()
{
Debuger
.
log
(
"BoostFlutterView onAttach"
);
Debuger
.
log
(
"BoostFlutterView onAttach"
);
mFlutterEngine
.
getPlatformViewsController
().
attachToView
(
flutterView
);
flutterView
.
attachToFlutterEngine
(
mFlutterEngine
);
flutterView
.
attachToFlutterEngine
(
mFlutterEngine
);
}
}
...
@@ -190,7 +190,7 @@ public class FlutterSplashView extends FrameLayout {
...
@@ -190,7 +190,7 @@ public class FlutterSplashView extends FrameLayout {
public
void
onDetach
()
{
public
void
onDetach
()
{
Debuger
.
log
(
"BoostFlutterView onDetach"
);
Debuger
.
log
(
"BoostFlutterView onDetach"
);
mFlutterEngine
.
getPlatformViewsController
().
detachFromView
();
flutterView
.
detachFromFlutterEngine
();
flutterView
.
detachFromFlutterEngine
();
}
}
...
...
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