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
b9826a29
Commit
b9826a29
authored
Jun 02, 2020
by
justin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决boost 常驻最后一个actvity 问题
parent
dbbe06ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
android/src/main/java/com/idlefish/flutterboost/XFlutterView.java
...src/main/java/com/idlefish/flutterboost/XFlutterView.java
+1
-1
android/src/main/java/com/idlefish/flutterboost/XTextInputPlugin.java
...main/java/com/idlefish/flutterboost/XTextInputPlugin.java
+9
-0
No files found.
android/src/main/java/com/idlefish/flutterboost/XFlutterView.java
View file @
b9826a29
...
@@ -673,7 +673,7 @@ public class XFlutterView extends FrameLayout {
...
@@ -673,7 +673,7 @@ public class XFlutterView extends FrameLayout {
}
}
public
void
release
(){
public
void
release
(){
if
(
textInputPlugin
!=
null
){
if
(
textInputPlugin
!=
null
){
// textInputPlugin.release(
);
textInputPlugin
.
release
(
this
);
}
}
}
}
...
...
android/src/main/java/com/idlefish/flutterboost/XTextInputPlugin.java
View file @
b9826a29
...
@@ -70,6 +70,15 @@ public class XTextInputPlugin {
...
@@ -70,6 +70,15 @@ public class XTextInputPlugin {
this
.
platformViewsController
=
platformViewsController
;
this
.
platformViewsController
=
platformViewsController
;
// this.platformViewsController.attachTextInputPlugin(this);
// this.platformViewsController.attachTextInputPlugin(this);
}
}
public
void
release
(
View
v
){
if
(
mView
!=
null
&&
mView
.
hashCode
()==
v
.
hashCode
()){
mView
=
null
;
}
}
public
void
updateView
(
View
view
){
public
void
updateView
(
View
view
){
mView
=
view
;
mView
=
view
;
mImm
=
(
InputMethodManager
)
view
.
getContext
().
getSystemService
(
mImm
=
(
InputMethodManager
)
view
.
getContext
().
getSystemService
(
...
...
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