NewInstance() публичный статический Метод

public static NewInstance ( ) : ThirdFragment
Результат ThirdFragment
Пример #1
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);
        }