James Montemagno - Page 33

Live, Love, Bike, and Code.


Animated GIF UIImageView in Xamarin.iOS

A little over a week ago I participate in a Nokia #DVLUP hackathon to create a Windows Phone app and get it published in under 2 weeks. I created something really simple and fun, which was Puppy Kitty Overflow that displays animated Dog and Cat images from catoverlflow.com and dogoverflow.com. I was able to release it and get it on the Windows Phone Store in under 1 week!

James Montemagno

Google Plus Services, Login and +1 in Xamarin.Android

I have been dabbling around recently with integrating Google Play Services into Android applications. Play Services are pretty interesting as they offer up a nice set of functionality including a G+ Sign In button and +1 sharing on G+. This is pretty intriguing to me because I have been building out a podcast streaming app for the Dot Net Rocks show. I wanted to build out a small sample to test what the details page …

James Montemagno

Modern Apps Roadshow Stop #1: Boston!

Today was a pretty awesome day here in Boston. In addition to being my 1 month anniversary working for Xamarin it was also the very first day of the .NET Rocks/Modern Apps Roadshow. Over the last month I have been preparing and getting an amazing demo ready that I got to show off today, which showed off using Xamarin to create a cross platform app in C# for Windows Store, iOS, and Android using PCL and a Azure Mobile …

James Montemagno

Simple re-usable Swipe To Delete Xamarin.iOS + MvvmCross

I was recently implementing some swipe to delete and edit mode in my Xamarin.iOS/MvvmCross applications. It is very common that you will have a custom TableViewDataSource that will implement and override some methods to handle this for you. It is very well documented on the Xamarin website. However I have always found myself writing the same code over and over again for custom data source. With MvvmCross we should …

James Montemagno

Super Roboto Fonts! Custom LayoutInflater.IFactory in Xamarin.Android

So last week I wrote about and showed off some custom Robot Fonts using my RobotoTextView which you can find on GitHub. However the great Stuart Lodge challenged me to make ti a bit more generic so it could be applied to any control that derives from TextView. This seemed like a cool idea and didn’t have the foggiest idea of how to do this. Stuart told me to go checkout the LayoutInflator.IFactory for a custom …

James Montemagno

Beautiful Android Compat Roboto Fonts in Xamarin.Android

In android 4.1 and 4.2 Google did something amazing, which was add the roboto fonts as a default font family that you can switch between. It is as easy as setting “sans-serif”, “sans-serif-light”, “sans-serif-condensed”, and “sans-serif-thin” as the android:FontFamily. However the obvious issue here is that this is only available in 4.1+ (with thin only being available in 4.2). So if you want to target older …

James Montemagno

Effective Navigation in Xamarin.Android: Part 1 - Navigation Drawer

When designing your app you have probably wondered about what type of navigation is the best to use. Dashboards, navigation lists, spinner drop downs, tabs, and fly out menus are all still prevalent and valid choices, however, Google has recently made a huge push to use their new standard Navigation Drawer control. So what is a Navigation Drawer? Similar to a flyout menu made famous by Facebook, the Navigation Drawer …

James Montemagno

MvxUIRefreshControl for #MvvmCross

Implementing MvxTableViews and MvxCollectionViews are extremely simple. From binding to accessory or cell clicks, to implementing advanced logic for custom cells they just plain work in MvvmCross. However, today I ran into one issue that needed to be solved, an Mvx binding for UIRefreshControl. <br./></br.> In iOS6+ land adding pull to refresh is EXTREMELY simple. You can read all about it, but basically …

James Montemagno
James Montemagno
Author

James Montemagno

James Montemagno is a Principal Lead Program Manager for Developer Community at Microsoft. He has been a .NET developer since 2005, working in a wide range of industries including game development, printer software, and web services. Live, Love, Bike, and Code.

Milli the dog peeking up from the bottom of the page