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
2667fd64
Commit
2667fd64
authored
Jun 18, 2020
by
justin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
指定参数类型
parent
b4045960
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
android/src/main/java/com/idlefish/flutterboost/FlutterBoostPlugin.java
...in/java/com/idlefish/flutterboost/FlutterBoostPlugin.java
+1
-1
android/src/main/java/com/idlefish/flutterboost/containers/BoostFlutterActivity.java
...dlefish/flutterboost/containers/BoostFlutterActivity.java
+4
-4
android/src/main/java/com/idlefish/flutterboost/containers/FlutterActivityAndFragmentDelegate.java
...rboost/containers/FlutterActivityAndFragmentDelegate.java
+2
-2
android/src/main/java/com/idlefish/flutterboost/containers/FlutterFragment.java
...com/idlefish/flutterboost/containers/FlutterFragment.java
+1
-1
android/src/main/java/com/idlefish/flutterboost/interfaces/IFlutterViewContainer.java
...lefish/flutterboost/interfaces/IFlutterViewContainer.java
+1
-1
No files found.
android/src/main/java/com/idlefish/flutterboost/FlutterBoostPlugin.java
View file @
2667fd64
...
...
@@ -194,7 +194,7 @@ public class FlutterBoostPlugin {
FlutterViewContainerManager
mManager
=
(
FlutterViewContainerManager
)
FlutterBoost
.
instance
().
containerManager
();
switch
(
methodCall
.
method
)
{
case
"pageOnStart"
:
{
Map
<
String
,
Object
>
pageInfo
=
new
HashMap
<>();
Map
<
String
,
Object
>
pageInfo
=
new
HashMap
<
String
,
Object
>();
try
{
IContainerRecord
record
=
mManager
.
getCurrentTopRecord
();
...
...
android/src/main/java/com/idlefish/flutterboost/containers/BoostFlutterActivity.java
View file @
2667fd64
...
...
@@ -72,7 +72,7 @@ public class BoostFlutterActivity extends Activity
private
final
Class
<?
extends
BoostFlutterActivity
>
activityClass
;
private
String
backgroundMode
=
DEFAULT_BACKGROUND_MODE
;
private
String
url
=
""
;
private
Map
params
=
new
HashMap
();
private
Map
<
String
,
Object
>
params
=
new
HashMap
();
public
NewEngineIntentBuilder
(
@NonNull
Class
<?
extends
BoostFlutterActivity
>
activityClass
)
{
...
...
@@ -86,7 +86,7 @@ public class BoostFlutterActivity extends Activity
}
public
NewEngineIntentBuilder
params
(
@NonNull
Map
params
)
{
public
NewEngineIntentBuilder
params
(
@NonNull
Map
<
String
,
Object
>
params
)
{
this
.
params
=
params
;
return
this
;
}
...
...
@@ -478,14 +478,14 @@ public class BoostFlutterActivity extends Activity
}
@Override
public
Map
getContainerUrlParams
()
{
public
Map
<
String
,
Object
>
getContainerUrlParams
()
{
if
(
getIntent
().
hasExtra
(
EXTRA_PARAMS
))
{
SerializableMap
serializableMap
=
(
SerializableMap
)
getIntent
().
getSerializableExtra
(
EXTRA_PARAMS
);
return
serializableMap
.
getMap
();
}
Map
<
String
,
String
>
params
=
new
HashMap
<>();
Map
<
String
,
Object
>
params
=
new
HashMap
<>();
return
params
;
}
...
...
android/src/main/java/com/idlefish/flutterboost/containers/FlutterActivityAndFragmentDelegate.java
View file @
2667fd64
...
...
@@ -390,7 +390,7 @@ public class FlutterActivityAndFragmentDelegate implements IFlutterViewContainer
}
@Override
public
Map
getContainerUrlParams
()
{
public
Map
<
String
,
Object
>
getContainerUrlParams
()
{
return
this
.
host
.
getContainerUrlParams
();
}
...
...
@@ -482,7 +482,7 @@ public class FlutterActivityAndFragmentDelegate implements IFlutterViewContainer
String
getContainerUrl
();
Map
getContainerUrlParams
();
Map
<
String
,
Object
>
getContainerUrlParams
();
}
...
...
android/src/main/java/com/idlefish/flutterboost/containers/FlutterFragment.java
View file @
2667fd64
...
...
@@ -521,7 +521,7 @@ public class FlutterFragment extends Fragment implements FlutterActivityAndFragm
}
@Override
public
Map
getContainerUrlParams
()
{
public
Map
<
String
,
Object
>
getContainerUrlParams
()
{
BoostFlutterActivity
.
SerializableMap
serializableMap
=
(
BoostFlutterActivity
.
SerializableMap
)
getArguments
().
getSerializable
(
EXTRA_PARAMS
);
...
...
android/src/main/java/com/idlefish/flutterboost/interfaces/IFlutterViewContainer.java
View file @
2667fd64
...
...
@@ -58,7 +58,7 @@ public interface IFlutterViewContainer {
* container params
* @return
*/
Map
getContainerUrlParams
();
Map
<
String
,
Object
>
getContainerUrlParams
();
/**
* callback when container shown
...
...
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