Last active
September 17, 2019 01:30
-
-
Save RicardoBritoBrens/ea85b1b6fe452c052026251ed2201588 to your computer and use it in GitHub Desktop.
Initialize HotReload by thrid-part
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
Reference to the principal github repository: https://github.com/AndreiMisiukevich/HotReload | |
Nuget Packages: https://www.nuget.org/packages/Xamarin.HotReload | |
using Xamarin.Forms; | |
namespace YourNamespace | |
{ | |
public partial class App : Application | |
{ | |
public App() | |
{ | |
InitializeComponent(); | |
#if DEBUG | |
HotReloader.Current.Run(this); | |
#endif | |
MainPage = new NavigationPage(new MainPage()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment