Inversion of control with MVVMCross

In the last two chapters, we looked at the IoC container and bootstrapping fundamentals; now it's time to use a different library for this principle with Xamarin native.

For all projects, we want to import the MVVMCross library:

Inversion of control with MVVMCross

Tip

MVVMCross is available for Xamarin.Forms, Xamarin.iOS, Xamarin.Android, Xamarin.Mac, and Windows, so take your pick.

MVVMCross is set up quite differently to AutoFac, but the principles are the same.

Get Xamarin Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.