public void OnTabSelected(ActionBar.Tab tab, FragmentTransaction ft)
        {
            PilotListCounterFragment fragment = tab.Tag as PilotListCounterFragment;

            if (fragment != null)
            {
                ft.Replace(R.Ids.pilotsOnlineFragmentContainer, fragment);
            }
        }
        PilotListAdapter CreateTab(string title, bool makeCurrent)
        {
            PilotListAdapter         adapter  = new PilotListAdapter(this);
            PilotListCounterFragment fragment = new PilotListCounterFragment(title + " online", adapter, this);

            var tab = this.ActionBar.NewTab();

            tab.SetText(title);
            tab.SetTabListener(this);
            tab.SetTag(fragment);
            this.ActionBar.AddTab(tab);

            if (makeCurrent == true)
            {
                currentTab = fragment;
            }

            return(adapter);
        }
        PilotListAdapter CreateTab(string title, bool makeCurrent)
        {
            PilotListAdapter adapter = new PilotListAdapter(this);
            PilotListCounterFragment fragment = new PilotListCounterFragment(title + " online", adapter, this);

            var tab = this.ActionBar.NewTab();
            tab.SetText(title);
            tab.SetTabListener(this);
            tab.SetTag(fragment);
            this.ActionBar.AddTab(tab);

            if (makeCurrent == true)
            {
                currentTab = fragment;
            }

            return adapter;
        }