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. Show Notes: Xamarin.Essentials DocumentationXamarin.Essentials Getting Started DocumentationMainThread DocumentationSource CodeFind James on: Twitter, GitHub, Blog, and his weekly development podcast Merge Conflict.Follow @JamesMontemagnoNever Miss an Episode: Follow @TheXamarinShowUseful Links:Learn more about Xamarin, Xamarin.Forms, & Cross-platform developmentXamarin Developer Center & BlogMicrosoft Learn Self-Guided TrainingCreate a Free Account (Azure)Xamarin Developers YouTube ChannelXamarin on Twitter