protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.scan); var x = new LinearLayoutManager(this); IpAddresses.AddRange(Globals.ComputerModels); ComputerList = FindViewById <RecyclerView>(Resource.Id.computerList); ComputerAdapter = new ComputerAdapter(IpAddresses); ComputerList.SetAdapter(ComputerAdapter); ComputerList.SetLayoutManager(x); ComputerAdapter.ConnectClick += ComputerAdapterOnConnectClick; ComputerAdapter.RemoveClick += ComputerAdapterOnRemoveClick; ComputerAdapter.PinClick += ComputerAdapterOnPinClick; AddComputerButton = FindViewById <FloatingActionButton>(Resource.Id.addComputerButton); AddComputerButton.Click += AddComputerButtonOnClick; Scanner.VlcHostFound += ScannerOnVlcHostFound; Scanner.Start(); }