Exemplo n.º 1
0
        private async void Function(Result result)
        {
            text = result?.Text ?? "None";
            SubSearchBox.Text = text;
            if (text != "None")
            {
                try
                {
                    var list = await MainPage.SO.ChannelTable.Where(c => c.AccessCode == SearchBox.Text).ToListAsync();

                    if (list.Count >= 1)
                    {
                        ResultTblock.Text = list[0].Name;
                        _foundChannel     = list[0];
                        ShowResult.Begin();
                    }
                }
                catch (Exception e)
                {
                }
            }
            await Task.Delay(1000);
        }