public static SecondFragment NewInstance() { var fragment = new SecondFragment { Arguments = new Bundle() }; return(fragment); }
private void showTab2() { deselectAll(); headingText.Text = "Tab 2"; tab2Button.SetColorFilter(selectedColor); tab2Text.SetTextColor(selectedColor); // Make new fragment to show this selection. Fragment fragment = SecondFragment.NewInstance(); // Execute a transaction, replacing any existing showFragment(fragment); }
public static SecondFragment NewInstance() { var fragment = new SecondFragment {Arguments = new Bundle()}; return fragment; }