James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Xamarin.Forms

Enhancing Xamarin.Forms ListView with Grouping Headers

Sometimes a plain ListView just isn’t good enough. You can easily spice it up with images [http://motzcod.es/post/88692272607/extending-xamarin-forms-monkeys-app-with-xaml-and] or custom cells [http://motzcod.es/post/93792500152/custom-listview-viewcells-in-xamarin-forms], but what about organizing the data. With C# and LINQ it is easy to sort your list, but how about giving it some visuals? How about some headers? With Xamarin.Forms it is extremely simple to add in headers and to create a cust…

James Montemagno James Montemagno

Custom ListView ViewCells in Xamarin.Forms

I love it when frameworks have built-in cells for lists. It allows me to easily shove some data into a list and get my prototype up and running extremely quickly. However, sometimes I don’t to ship the final app with these cells and I want to do some customization. Xamarin.Forms has 4 built-in cells [http://developer.xamarin.com/guides/cross-platform/xamarin-forms/controls/cells/] to get you up and running and like everything else in Xamarin.Forms it is extremely easy to customize and create yo…

James Montemagno James Montemagno

How to use Xamarin.Forms Messaging Center

The goal of MVVM is to abstract away your Views from your Business Logic. This ensures great code reuse, testability, and is pretty awesome. Many MVVM Frameworks offer tools to enhance this such as data binding [http://developer.xamarin.com/guides/cross-platform/xamarin-forms/introduction-to-xamarin-forms/] and dependency services [http://developer.xamarin.com/guides/cross-platform/xamarin-forms/dependency-service/] to make our lives easier. These are built into Xamarin.Forms, which is awesome,…

James Montemagno James Montemagno

Extending Xamarin.Forms Monkeys App with XAML and Images

Last week I posted an introduction to Xamarin.Forms article [http://blog.xamarin.com/meet-xamarin.forms-3-native-uis-1-shared-code-base/] on the Xamarin blog. I went over a simple master/detail flow with a list of monkeys that data bound to a ListView, and then navigate to a detail view displaying more information about the monkey when selected. It was a pretty simple implementation and I wanted to dive deeper into adding functionality. XAML Please! While the blog post got a great response, I…

James Montemagno James Montemagno

Pull To Refresh for Xamarin.Forms iOS

Update Xamarin.Forms now includes Pull To Refesh out of the box. Please read my article on it. If you have read my blog then you know that I love pull to refresh functionality in all of my apps. Your users are expecting this functionality in all of their apps and I believe that it should be drop dead simple to bing pull to refresh to an MVVM style of development. Xamarin.Forms shines in a lot of areas and the team has made it really easy to extend the built in controls or add brand new contr…

James Montemagno James Montemagno