Mostrando entradas de junio, 2014

Simple ListView with Xamarin.Forms

Hello today were gonna talk about the new Xamarin.Forms framework that allows to create a sharable UI over Android, iOS and Windows Phone you can create it by PCL or Shared Projects projects.

In this post you can see all the power of this framework creating a simple list view and a detail page with only a few lines of code using the MVVM Pattern.

First you need the New 5.0 Xamarin Studio or Visual Studio 2010-2013 U2.

Add a new project in the "Mobile Apps" section, you can find 3 kinds of projects:
Blank App (Xamarin.Forms Protable): A blank project of Xamarin.Forms with a PCL.Blank App (Xamarin.Forms Shared): A blank project with a Shared Project.Class Library (Xamarin.Forms Portable): A PCL for Xamarin.Forms. For this example we use the first one "Blank App (Xamarin.Forms Protable)":

Now you have a solution with 3 Projects Xamarin Studio:
PCLAndroid AppiOS App 4 Projects on Visual Studio:
PCLAndroid AppiOS AppWindows Phone App  Now in the PCL project add this thre…