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
42586f71
Commit
42586f71
authored
Oct 31, 2019
by
justin
Committed by
GitHub
Oct 31, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #445 from TryLoveCatch/0.1.54
解决Android PlatformView在前后台切换的时候消失不见的问题
parents
aa8d47d6
92acb2e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
android/src/main/java/com/idlefish/flutterboost/BoostFlutterView.java
...main/java/com/idlefish/flutterboost/BoostFlutterView.java
+1
-0
android/src/main/java/com/idlefish/flutterboost/XFlutterView.java
...src/main/java/com/idlefish/flutterboost/XFlutterView.java
+0
-1
No files found.
android/src/main/java/com/idlefish/flutterboost/BoostFlutterView.java
View file @
42586f71
...
...
@@ -221,6 +221,7 @@ public class BoostFlutterView extends FrameLayout {
super
.
onDetachedFromWindow
();
getViewTreeObserver
().
removeOnGlobalLayoutListener
(
mGlobalLayoutListener
);
onDetach
();
flutterEngine
.
getPluginRegistry
().
getPlatformViewsController
().
onFlutterViewDestroyed
();
}
public
BoostFlutterEngine
getEngine
(){
...
...
android/src/main/java/com/idlefish/flutterboost/XFlutterView.java
View file @
42586f71
...
...
@@ -534,7 +534,6 @@ public class XFlutterView extends FrameLayout {
// detach platformviews in page in case memory leak
flutterEngine
.
getPluginRegistry
().
getPlatformViewsController
().
detach
();
flutterEngine
.
getPluginRegistry
().
getPlatformViewsController
().
onFlutterViewDestroyed
();
// Inform the Android framework that it should retrieve a new InputConnection
// now that the engine is detached. The new InputConnection will be null, which
...
...
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