async void teamClicked(object sender, Xamarin.Forms.ItemTappedEventArgs e)
        {
            var    x    = (listView.ItemsSource as IEnumerable <RankStruct>).ToList();
            String item = x.Find(y => y.Equals(e.Item)).Key;

            teamSend = item;
            await Navigation.PushAsync(new RankingsDetailView (mainRank.returnTeamTimes(item)) { Title = item });
        }
        async void teamClicked(object sender, Xamarin.Forms.ItemTappedEventArgs e)
        {
            var x       = (listView.ItemsSource as IEnumerable <RankStruct>).ToList();
            int teamnum = AdapterMethods.getTeamInt(((RankStruct)e.Item).Key, App.teamsList);

            //String item = x.Find (y => y.Equals (teamnum)).Key;
            teamSend = teamnum;
            Debug.WriteLine("befrore send" + ((RankStruct)e.Item).Key);
            await Navigation.PushAsync(new RankingsDetailView (mainRank.returnTeamTimes(teamnum)) { Title = ((RankStruct)e.Item).Key });
        }