示例#1
0
		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 } );
			}
		}
示例#2
0
        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
                });
            }
        }
示例#3
0
 public ServiceConnection(ServiceBinder binder)
 {
     Binder = binder;
 }
示例#4
0
        public ServiceConnection(ServiceBinder binder)
		{
            Binder = binder;
		}