Beispiel #1
0
        private async void SearchStation(object sender, EventArgs e)
        {
            var itemPage = new ItemsPage(() => BusQuery.SearchStation(this.Keyword), "Search Result: " + this.Keyword);

            PushToMainPage(itemPage);
            //await Navigation.PushAsync(new ItemsPage(() => BusQuery.SearchStation(this.Keyword), this.Keyword));
            //MessagingCenter.Send<ContentPage, IEnumerable<IInfoEntry>>(this, "ReplaceItems", BusQuery.SearchStation(this.Keyword));
            //MessagingCenter.Send<ContentPage, QueryRequest>(this, "FetchReplaceItems", new QueryRequest {keyword = this.Keyword, Method = BusQuery.SearchStation});
            //SendFetchMessage(this, () => BusQuery.SearchStation(this.Keyword));
            //await Navigation.PopModalAsync();
        }