Beispiel #1
0
 public RunnerConnection(RunnerBinder <T> binder)
 {
     if (binder != null)
     {
         Binder = binder;
     }
 }
Beispiel #2
0
            public void OnServiceConnected(ComponentName name, IBinder service)
            {
                RunnerBinder <T> serviceBinder = service as RunnerBinder <T>;

                if (serviceBinder != null)
                {
                    Binder         = serviceBinder;
                    Binder.IsBound = true;
                    Binder.Service.StartRunner();
                }
            }