public Players()
 {
     InitializeComponent();
     Icon = "icon.png";
     refreshCount++;
     BindingContext = BJKFactory.GetPlayersWithGrouping();
 }
        void OnRefreshing(object sender, EventArgs e)
        {
            ListView lv = (ListView)sender;

            refreshCount++;
            BindingContext  = BJKFactory.GetPlayersWithGrouping();
            lv.IsRefreshing = false;
        }
 void onSearch(object sender, TextChangedEventArgs e)
 {
     if (!String.IsNullOrEmpty(e.NewTextValue) && e.NewTextValue.Length > 2)
     {
         BindingContext = BJKFactory.GetPlayersWithGrouping(e.NewTextValue);
     }
     else if (String.IsNullOrEmpty(e.NewTextValue))
     {
         BindingContext = BJKFactory.GetPlayersWithGrouping();
     }
 }