private void ScannerOnVlcHostFound(object sender, string s) { if (ComputerAdapter.Computers.Any(i => i.Ip == s)) { return; } IpAddresses.Add(new ComputerModel(s)); RunOnUiThread(() => ComputerAdapter.NotifyDataSetChanged()); }
private void ComputerAdapterOnRemoveClick(object sender, int i1) { IpAddresses.Remove(IpAddresses[i1]); ComputerAdapter.NotifyDataSetChanged(); }