Learning Xamarin: MVVM Light and Xamarin Forms

Today I’m going to kick off a series of postings on creating an application using Xamarin MVVMLightFeather Forms and theMVVM Light Toolkit.  This is part of a larger series on Learning Xamarin.

To get started, I created a new Xamarin Forms project in Xamarin Studio on my Mac and named it BookLender.  The purpose of this app will be to help me track who borrows my books (a problem that is greatly diminished by the fact that the last few hundred books I’ve bought have been Kindle books, but we still have a few thousand bound books that folks like to borrow now and again.  I’m a huge fan of GoodReads!).

I’ve used the MVVM Light Toolkit in the past, but it has been a few years, and this will be my first experimentation with using it with Xamarin.  I did talk to Laurent Bugnion (author of the toolkit) about it on my podcast, and he told me to start with the “Libraries only PCL” version through NuGet, which I have added to all three projects (the core, iOS and Android projects).  Because I’m building this in Xamarin Studio on the Mac, I won’t (for now) have a Windows Phone version – though I can migrate everything later and add that as well.

In my previous article I attempted to explain why MVVM is inherently desirable and especially so with Xamarin Forms which supports both XAML and DataBinding.  In this article I will create a dead simple example (actually, I’ll steal Lauren’t simple example) to get my feet wet.

Continued here.

Share

About Jesse Liberty

Jesse Liberty is a Master Consultant for Falafel Software, and has three decades of experience writing and delivering software projects. He is the author of 2 dozen books and multiple Pluralsight courses, and has been a Technical Evangelist for Telerik and for Microsoft, a Distinguished Software Engineer for AT&T, a VP for Information Services for Citibank and a Software Architect for PBS.
This entry was posted in MVVM, Xamarin and tagged . Bookmark the permalink.

2 Responses to Learning Xamarin: MVVM Light and Xamarin Forms

  1. Zoe Campbell says:

    Hi, great information and an fascinating post, it will be
    fascinating if this is still the state of affairs in a few
    months time

  2. Exceptionally exciting piece of writing

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>