public static FirstFragment NewInstance()
        {
            var fragment = new FirstFragment {
                Arguments = new Bundle()
            };

            return(fragment);
        }
Exemplo n.º 2
0
        private void showTab1()
        {
            deselectAll();

            headingText.Text = "Tab 1";

            tab1Button.SetColorFilter(selectedColor);
            tab1Text.SetTextColor(selectedColor);
            // Make new fragment to show this selection.
            Fragment fragment = FirstFragment.NewInstance();

            // Execute a transaction, replacing any existing
            showFragment(fragment);
        }
Exemplo n.º 3
0
 public static FirstFragment NewInstance()
 {
     var fragment = new FirstFragment {Arguments = new Bundle()};
     return fragment;
 }