I have code of replace fragment on button click, but is this possible to replace FragmentActivity??
I have code of replace fragment
public void OnClick()
{
Fragment frag = new TMSAccountFragment(CurrentViewModel);
FragmentTransaction ft = FragmentManager.BeginTransaction();
ft.Replace(Resource.Id.sample_content_fragment, frag);
ft.AddToBackStack(null);
ft.Commit();
}
Please suggest me for FragmentActivity, thanks.