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

            return(fragment);
        }
Example #2
0
        private void showTab3()
        {
            deselectAll();

            headingText.Text = "Tab 3";

            tab3Button.SetColorFilter(selectedColor);
            tab3Text.SetTextColor(selectedColor);
            // Make new fragment to show this selection.
            Fragment fragment = ThirdFragment.NewInstance();

            // Execute a transaction, replacing any existing
            showFragment(fragment);
        }
 public static ThirdFragment NewInstance()
 {
     var fragment = new ThirdFragment {Arguments = new Bundle()};
     return fragment;
 }