public static FirstFragment NewInstance() { var fragment = new FirstFragment { Arguments = new Bundle() }; return(fragment); }
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); }
public static FirstFragment NewInstance() { var fragment = new FirstFragment {Arguments = new Bundle()}; return fragment; }