Last active
January 14, 2019 11:47
-
-
Save LoriBru/8975821c209b17aea7b8e174a73b5d0a to your computer and use it in GitHub Desktop.
Inflate a fragment to the FrameLayout container.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var tran = FragmentManager.BeginTransaction(); | |
| var fragment = new HomeFragment(); | |
| tran.Replace(Resource.Id.FrameContainer, fragment); | |
| tran.SetTransition(FragmentTransit.FragmentFade); | |
| tran.CommitAllowingStateLoss(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment