Posts

Xamarin.Forms: Picker control and "Items" binding problem...

Image
If I tell you "ComboBox", you will see quickly of which control I'm talking about. There no control named "ComboBox" in Xamarin.Forms but if you search a little, you will find the "Picker " control. Class: Xamarin.Forms.Picker In the namespace: Xamarin.Forms Doc link : http://iosapi.xamarin.com/index.aspx?link=T%3AXamarin.Forms.Picker The problem is that you cannot bind directly "Picker.Items" property in the XAML file ! For that you have to use the code behind file. xaml (doesn't work): <Picker Items="{Binding MyViewModelList}"... /> So what do we have to do ? 1- Name your "Picker" control in the xaml file (by adding an attribute like x:Name="uiPicker" ) 2- On the parent page in code behind, override the "OnBindingContextChanged( )" method 3- In this method, fill your "Picker.Items" property from your viewmodel's values. 4- On the XAML file, you can onl

Mvvm From A to Z

For french developpers, you can have a look at my MVVM My Way article . It proposes an end to end solution to developp an MVVM application. This article covers the global architecture, the associated tools & the way of testing the app.

[Code de porc]

Image
Code I have seen somewhere (in production code) :) Interesting...

Syncfusion free eBooks !

Don't wait anymore! Here is a list of kick starters books covering various subjects (Xamarin, Machine Learning, R, AngularJS...): https://www.syncfusion.com/resources/techportal/ebooks Don't hesitate to dowload, it is free!

Syncfusion Metro Studio: A free tool to create Metro-style icons

Image
Your app is almost done? You've done the 'hardest' part while coding your app logic? Well there is still a painful job in the basket: create a wonderful set of icons to have an eye-catching app. If you are not friend with design tools, welcome! this one could save your day: http://www.syncfusion.com/downloads/metrostudio This free tool allows you to browse through a large collection of icons. Moreover, you can create easily your own icon. A must have when developping Windows Phone / Windows 8 apps!  

NinjaMock : a free tool for prototyping mobile app and website

Image
Don't rush into programming ! If you need a simple tool to prototype the design of your mobile apps before programming, NinjaMock ( http://ninjamock.com ) is a nice tool to quickly create a wireframe containing the interaction logic of a user interface and get a simple representation of the look of the pages you want to build for your app. FluidUI ( https://www.fluidui.com ) does the same job already but is mainly featured for Android and IOS and free version is very limited (one project only). NinjaMock allows to build prototype for many platforms (Android, IOS, Windows Phone, Windows 8 or Web) and it's free.      Be creative ! ;)

Add Xamarin.Forms intellisense to VS2013

Image
Actually we can edit 'XAML' Xamarin forms but we don't have access to the designer. And more there is no auto-completion available. Hopefully there is a way to add it ! (ref: http://www.cazzulino.com/mobileessentials.html) In Visual Studio: Options\Extensiosn and Updates, add the following entry: http://gallery.mobileessentials.org/feed.atom Then you will have access to the following extension: You are ready to code in XAML !