Commit fad7cf59 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Update hello_services for a change to the message listener API (#4670)

parent 97c1f0b7
...@@ -44,7 +44,7 @@ public class ExampleActivity extends Activity { ...@@ -44,7 +44,7 @@ public class ExampleActivity extends Activity {
flutterView.addOnMessageListener("getLocation", flutterView.addOnMessageListener("getLocation",
new FlutterView.OnMessageListener() { new FlutterView.OnMessageListener() {
@Override @Override
public String onMessage(String message) { public String onMessage(FlutterView view, String message) {
return onGetLocation(message); return onGetLocation(message);
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment