public void OnServiceConnected(ComponentName name, IBinder service)
        {
            FloatingWindowServiceBinder fwServiceBinder = service as FloatingWindowServiceBinder;

            if (fwServiceBinder != null)
            {
                _activity.fwService = fwServiceBinder.GetFloatingWindowService();
                _activity.isBound   = true;
            }
        }
 public override IBinder OnBind(Intent intent)
 {
     _fwBinder = new FloatingWindowServiceBinder(this);
     return(_fwBinder);
 }