public void OnServiceConnected(ComponentName name, IBinder service)
        {
            TheBinder   = service as ServiceOneBinder;
            IsConnected = this.TheBinder != null;

            if (IsConnected)
            {
                // Somehow notify the main UI that we are connected
                // mainActivity.UpdateUiForBoundService();
            }
            else
            {
            }
        }
 public void OnServiceDisconnected(ComponentName name)
 {
     IsConnected = false;
     TheBinder   = null;
 }