public void OnServiceConnected (ComponentName name, IBinder service) { var serviceBinder = service as ServiceBinder; if (serviceBinder != null) { Binder = serviceBinder; Binder.IsBound = true; ServiceConnected(this, new ServiceConnectedEventArgs { Binder = service } ); } }
public void OnServiceConnected(ComponentName name, IBinder service) { var serviceBinder = service as ServiceBinder; if (serviceBinder != null) { Binder = serviceBinder; Binder.IsBound = true; ServiceConnected(this, new ServiceConnectedEventArgs { Binder = service }); } }
public ServiceConnection(ServiceBinder binder) { Binder = binder; }