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

This commit is contained in:
Jason Simmons 2016-06-21 14:26:30 -07:00 committed by GitHub
parent 97c1f0b7b2
commit fad7cf59e3

View File

@ -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);
} }
}); });