Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
fad7cf59
Commit
fad7cf59
authored
Jun 21, 2016
by
Jason Simmons
Committed by
GitHub
Jun 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update hello_services for a change to the message listener API (#4670)
parent
97c1f0b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ExampleActivity.java
...pp/src/main/java/com/example/flutter/ExampleActivity.java
+1
-1
No files found.
examples/hello_services/android/app/src/main/java/com/example/flutter/ExampleActivity.java
View file @
fad7cf59
...
...
@@ -44,7 +44,7 @@ public class ExampleActivity extends Activity {
flutterView
.
addOnMessageListener
(
"getLocation"
,
new
FlutterView
.
OnMessageListener
()
{
@Override
public
String
onMessage
(
String
message
)
{
public
String
onMessage
(
FlutterView
view
,
String
message
)
{
return
onGetLocation
(
message
);
}
});
...
...
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