コード例 #1
0
        public static FirstFragment NewInstance()
        {
            var fragment = new FirstFragment {
                Arguments = new Bundle()
            };

            return(fragment);
        }
コード例 #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);
        }
コード例 #3
0
 public static FirstFragment NewInstance()
 {
     var fragment = new FirstFragment {Arguments = new Bundle()};
     return fragment;
 }