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
76beb384
Commit
76beb384
authored
Oct 22, 2019
by
yangwu.jia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改继承自ShimPluginRegistry
parent
652c012f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
android/src/main/java/com/idlefish/flutterboost/BoostPluginRegistry.java
...n/java/com/idlefish/flutterboost/BoostPluginRegistry.java
+3
-2
android/src/main/java/com/idlefish/flutterboost/containers/FlutterSplashView.java
...m/idlefish/flutterboost/containers/FlutterSplashView.java
+0
-2
No files found.
android/src/main/java/com/idlefish/flutterboost/BoostPluginRegistry.java
View file @
76beb384
...
@@ -6,6 +6,7 @@ import android.support.annotation.Nullable;
...
@@ -6,6 +6,7 @@ import android.support.annotation.Nullable;
import
com.idlefish.flutterboost.interfaces.IContainerRecord
;
import
com.idlefish.flutterboost.interfaces.IContainerRecord
;
import
io.flutter.app.FlutterPluginRegistry
;
import
io.flutter.app.FlutterPluginRegistry
;
import
io.flutter.embedding.engine.FlutterEngine
;
import
io.flutter.embedding.engine.FlutterEngine
;
import
io.flutter.embedding.engine.plugins.shim.ShimPluginRegistry
;
import
io.flutter.plugin.common.BinaryMessenger
;
import
io.flutter.plugin.common.BinaryMessenger
;
import
io.flutter.plugin.common.PluginRegistry
;
import
io.flutter.plugin.common.PluginRegistry
;
import
io.flutter.plugin.platform.PlatformViewRegistry
;
import
io.flutter.plugin.platform.PlatformViewRegistry
;
...
@@ -14,13 +15,13 @@ import io.flutter.view.TextureRegistry;
...
@@ -14,13 +15,13 @@ import io.flutter.view.TextureRegistry;
import
java.lang.ref.WeakReference
;
import
java.lang.ref.WeakReference
;
public
class
BoostPluginRegistry
extends
Flutter
PluginRegistry
{
public
class
BoostPluginRegistry
extends
Shim
PluginRegistry
{
protected
WeakReference
<
Activity
>
mCurrentActivityRef
;
protected
WeakReference
<
Activity
>
mCurrentActivityRef
;
private
FlutterEngine
mEngine
;
private
FlutterEngine
mEngine
;
private
Context
mContext
;
private
Context
mContext
;
public
BoostPluginRegistry
(
FlutterEngine
engine
,
Context
context
)
{
public
BoostPluginRegistry
(
FlutterEngine
engine
,
Context
context
)
{
super
(
engine
,
context
);
super
(
engine
);
mEngine
=
engine
;
mEngine
=
engine
;
mContext
=
context
;
mContext
=
context
;
}
}
...
...
android/src/main/java/com/idlefish/flutterboost/containers/FlutterSplashView.java
View file @
76beb384
...
@@ -62,8 +62,6 @@ public class FlutterSplashView extends FrameLayout {
...
@@ -62,8 +62,6 @@ public class FlutterSplashView extends FrameLayout {
if
(
splashScreen
!=
null
&&!
hasRendered
)
{
if
(
splashScreen
!=
null
&&!
hasRendered
)
{
transitionToFlutter
();
transitionToFlutter
();
hasRendered
=
true
;
hasRendered
=
true
;
Log
.
i
(
"xxxxxx22222"
,
this
.
hashCode
()+
""
);
}
}
}
}
};
};
...
...
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