Example #1
0
 private void openMatch(CompetitionClass competition)
 {
     MainThread.BeginInvokeOnMainThread(async() =>
     {
         // Code to run on the main threat
         await Navigation.PushAsync(new MatchList(competition)).ConfigureAwait(false);
     });
 }
Example #2
0
        private void DeleteCompetition(object sender, EventArgs e)
        {
            MenuItem         delete = sender as MenuItem;
            CompetitionClass comp   = delete.CommandParameter as CompetitionClass;

            eventsListObj.Remove(comp);
            CacheData.DeleteOneEvent(comp);
            eventsNotLocal.Add(comp.eventKey);
        }
Example #3
0
 private void matchEvents_ItemTapped(object sender, ItemTappedEventArgs e)
 {
     if (!isOpening)
     {
         isOpening = true;
         CompetitionClass matchEventItem = e.Item as CompetitionClass;
         openMatch(matchEventItem);
     }
 }