Xamarin.Essentials provides developers with cross-platform APIs for their mobile applications. On this week's Xamarin.Essential API of the week we take a look at the MainThread API to enable you to check if the code you are about to execute will run on the main user interface thread and a way to invoke code on the main thread if it isn't.
- Xamarin.Essentials Documentation
- Xamarin.Essentials Getting Started Documentation
- MainThread Documentation
- Source Code
- Find James on: Twitter, GitHub, Blog, and his weekly development podcast Merge Conflict.
- Follow @JamesMontemagno
- Never Miss an Episode: Follow @TheXamarinShow