Geeks With Blogs

News
Anirudha gupta
Working on xamarin project and looking for hot reload ? Look at Xamarin Live reload. For using Xamarin Live Reload

simply go to Extension Manager search for live reload and install the xamarin live reload create a xamarin.forms project and switch to ui, you will see a yellow bar with connect option. If this doesn't show go to tools > options > live reload nad click on OK, it will appear.

after click on connect, give permission and go on, if you are using android project and already deployed app, you need to uninstall it.

You need to add these 3 magic lines in your xamarin app.xaml.cs

// Initialize Live Reload. #if DEBUG LiveReload.Init(); #endif

Now run the project and make changes you will see the ui changed in your android device, As per docs you need to stop project for modify the c# code. For detail look at this page


Thanks for reading my article 

Happy coding :)
Posted on Sunday, August 19, 2018 7:21 PM | Back to top


Comments on this post: How to refresh the UI in Xamarin without stop debugging Xamarin live reload

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Anirudha | Powered by: GeeksWithBlogs.net