Xamarin.CommunityToolkit: an introduction to a great new supporting library for Xamarin.Forms

Today I can proudly introduce to you the XamarinCommunityToolkit package! In this post you will read all about this package (also known as XamarinCommunityToolkit). What it does, my vision for it and how you can use it, today! #XamarinCommunityToolkit issues, PRs and implementing CameraViewWatch this video on YouTubeWant to learn about the Toolkit a bit … Read more Xamarin.CommunityToolkit: an introduction to a great new supporting library for Xamarin.Forms

Xamarin.Forms RowDefinition & ColumnDefinition through binding

Under one of my YouTube videos about the simplified grid RowDefinition and ColumnDefinition syntax, I got the question how to do this in with data-binding. In this post I will write about that so that everyone can benefit. How To Databind the RowDefinition and ColumnDefinition From some quick testing I don’t think there is an … Read more Xamarin.Forms RowDefinition & ColumnDefinition through binding

Disable bounce effect on CollectionView in your Xamarin.Forms iOS app

I noticed a StackOverflow question where the author was interested in disabling the bounce effect for CollectionView. They had a method for ListView, but was now looking on how to do it for CollectionView on iOS. I put together a small sample, let me tell you what I did. The Bounce Effect If you have … Read more Disable bounce effect on CollectionView in your Xamarin.Forms iOS app

Create a Google Chromecast app with Xamarin.Forms in under 10 minutes

While I was waiting in between builds, I decided to put on some radio in the background. I started looking for a good app on my desktop I found TuneIn, which is nice. But I couldn’t Chromecast it to my Google Nest Mini device. I got the impression that TuneIn isn’t much more than a … Read more Create a Google Chromecast app with Xamarin.Forms in under 10 minutes

Simplifying Xamarin.Forms Grid Column and Row Definitions

One of the downsides of XAML is that it can become very verbose. A specific area where this happens is when using a Grid and you start defining rows and columns. To overcome this, a change has been merged that will make your live (and XAML!) a whole lot easier. In this post you will … Read more Simplifying Xamarin.Forms Grid Column and Row Definitions

Clearing downloaded Source Link cache for Visual Studio for Mac

Xamarin.Forms has support for Source Link for a while now. With Visual Studio for Mac you can now dive into the Forms NuGet (or any NuGet that support Source Link of course) and debug code that you didn’t even write! Although it should never happen™, there might be times where you need to clean the … Read more Clearing downloaded Source Link cache for Visual Studio for Mac

Test Xamarin.Forms bugfixes by downloading PR NuGet packages

As part of the Xamarin.Forms open-source nature the builds are also accessible for you to see. While the advantages are more than one, two really stand out. First, as a contributor, you can now see how your changes integrate with the rest of the code. Second, as a user, you can access the artifacts of … Read more Test Xamarin.Forms bugfixes by downloading PR NuGet packages

My First Challenge: Join the Xamarin + Cognitive Services Crazy Combo Challenge!

The “challenge” concept has been around for a few years now at Microsoft. Basically what happens is Microsoft provides you with a pre-built solution in the form of some sample application. From there it is up to you to let your mind go free and implement more awesome things. This challenge is no different, apart … Read more My First Challenge: Join the Xamarin + Cognitive Services Crazy Combo Challenge!

Databinding Scope in Xamarin.Forms

A question I have seen coming by a lot is: how to trigger a command from the ContextAction on an item in the ListView. While it seems straight-forward, implementation can be a bit tricky. This has everything to do with the databinding scope. This post will give you some background and show you how it’s … Read more Databinding Scope in Xamarin.Forms

Custom Vision, Xamarin.Forms and Simpsons – The Community AI Show

This week I had the honor of being the first guest on the Community AI Show with Henk Boelman, Cloud Advocate at Microsoft. In this first episode we look at how we can use Azure Custom Vision in a Xamarin.Forms app.

Custom Vision Simpsons Recognition

Our demo app can recognize Simpson themed LEGO figures. The model is trained through Azure Custom Vision. From there, you can either communicate with the available REST APIs, or export the model to CoreML, TensorFlow or ONNX.

These models can then be loaded into iOS, Android or UWP respectively. Because these models reside on your device locally, you do not need an internet connection and the results return super fast!

Watch Henk and me have some fun while building this solution in the video below. You will learn how to train your model, the global structure of a Xamarin.Forms app and what routes you can take to use this platform-specific feature in a Forms app.

Spoiler alert: use this amazing plugin by Jim Bennett to make your life a lot easier.

Custom Vision, Xamarin and Simpsons - The Community AI Show

All the source code for this app can be found on my GitHub page. If you want to get started with Custom Vision yourself, go and check out customvision.ai.

More Resources

If you can't get enough of all the AI goodness, I have also recorded a video course on the Azure Cognitive Services and how to use those. You can find that here.

On my YouTube channel you can also find a session where I incorporate the Cognitive Services in a Xamarin.Forms app. While you are there, don't forget to like and subscribe!

In Closing

Please let me know what you think of my appearance in the AI show or all the other resources mentioned in this post. If you need any clarification on anything mentioned in this post, I'm planning to write some more extensive posts about using the CoreML and TensorFlow models in your Xamarin app. Reach out if there are specific things you want to read in there.