Example #1
0
 private void OnReceiverNetworkInformation(object sender, ReceiverInformationResponse info)
 {
     if (info == null)
     {
         return;
     }
     this.Adapter.Selectors = info.Device.SelectorList.Selectors;
 }
Example #2
0
        private void OnReceiverInfo(object sender, ReceiverInformationResponse e)
        {
            string[] ItemText = e.Device.NetServiceList.NetService.Select(i => i.Name).ToArray();

            this.Activity.RunOnUiThread(
                () => {
                this.ListView.Adapter = new ArrayAdapter <string>(
                    this.Activity,
                    Android.Resource.Layout.SimpleListItem1,
                    ItemText);
            });
        }
Example #3
0
 private void OnReceiverNetworkInformation(object sender, ReceiverInformationResponse info) =>
 this.ReceiverInfo = info;