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