public void OnServiceDisconnected(ComponentName name) { this.IsConnected = false; this.Binder = null; }
public void OnServiceConnected(ComponentName name, IBinder service) { this.Binder = service as BackgroundBinder; this.IsConnected = this.Binder != null; }