Exemplo n.º 1
0
        private void ScannerOnVlcHostFound(object sender, string s)
        {
            if (ComputerAdapter.Computers.Any(i => i.Ip == s))
            {
                return;
            }

            IpAddresses.Add(new ComputerModel(s));
            RunOnUiThread(() => ComputerAdapter.NotifyDataSetChanged());
        }
Exemplo n.º 2
0
 private void ComputerAdapterOnRemoveClick(object sender, int i1)
 {
     IpAddresses.Remove(IpAddresses[i1]);
     ComputerAdapter.NotifyDataSetChanged();
 }