public static IconsFragment NewInstance(string fontName) { Bundle bundle = new Bundle(); IconsFragment fragment = new IconsFragment(); bundle.PutString(FontName, fontName); fragment.Arguments = bundle; return fragment; }
public static IconsFragment NewInstance(string fontName) { Bundle bundle = new Bundle(); IconsFragment fragment = new IconsFragment(); bundle.PutString(FontName, fontName); fragment.Arguments = bundle; return(fragment); }
void LoadIcons(string fontName) { Android.Support.V4.App.FragmentTransaction ft = this.SupportFragmentManager.BeginTransaction(); ft.Replace(Resource.Id.content, IconsFragment.NewInstance(fontName)); ft.Commit(); }