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

public static NewInstance ( ) : FourthFragment
Результат FourthFragment
Пример #1
0
        private void showTab4()
        {
            deselectAll();

            headingText.Text = "Tab 4";

            tab4Button.SetColorFilter(selectedColor);
            tab4Text.SetTextColor(selectedColor);
            // Make new fragment to show this selection.
            Fragment fragment = FourthFragment.NewInstance();

            // Execute a transaction, replacing any existing
            showFragment(fragment);
        }