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
0
Merge Requests
0
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
756e7638
Commit
756e7638
authored
Jan 16, 2020
by
justin
Committed by
GitHub
Jan 16, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #572 from gws321/feature/base_flutter_1.12_upgrade
新的注册方式在onAttach时执行attachToView
parents
3d304739
034630d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
android/src/main/java/com/idlefish/flutterboost/XFlutterView.java
...src/main/java/com/idlefish/flutterboost/XFlutterView.java
+2
-1
No files found.
android/src/main/java/com/idlefish/flutterboost/XFlutterView.java
View file @
756e7638
...
@@ -606,6 +606,7 @@ public class XFlutterView extends FrameLayout {
...
@@ -606,6 +606,7 @@ public class XFlutterView extends FrameLayout {
isFlutterUiDisplayed
=
flutterRenderer
.
isDisplayingFlutterUi
();
isFlutterUiDisplayed
=
flutterRenderer
.
isDisplayingFlutterUi
();
renderSurface
.
attachToRenderer
(
flutterRenderer
);
renderSurface
.
attachToRenderer
(
flutterRenderer
);
flutterRenderer
.
addIsDisplayingFlutterUiListener
(
flutterUiDisplayListener
);
flutterRenderer
.
addIsDisplayingFlutterUiListener
(
flutterUiDisplayListener
);
this
.
flutterEngine
.
getPlatformViewsController
().
attachToView
(
this
);
...
@@ -691,7 +692,7 @@ public class XFlutterView extends FrameLayout {
...
@@ -691,7 +692,7 @@ public class XFlutterView extends FrameLayout {
// Disconnect the FlutterEngine's PlatformViewsController from the AccessibilityBridge.
// Disconnect the FlutterEngine's PlatformViewsController from the AccessibilityBridge.
flutterEngine
.
getPlatformViewsController
().
detachAccessibiltyBridge
();
flutterEngine
.
getPlatformViewsController
().
detachAccessibiltyBridge
();
flutterEngine
.
getPlatformViewsController
().
detachFromView
();
// Disconnect and clean up the AccessibilityBridge.
// Disconnect and clean up the AccessibilityBridge.
accessibilityBridge
.
release
();
accessibilityBridge
.
release
();
accessibilityBridge
=
null
;
accessibilityBridge
=
null
;
...
...
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