James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Xamarin.Forms

Pull To Refresh Any(ish) Xamarin.Forms View!

If you have read motz.codes then you know I love [http://motzcod.es/post/59125989518/mvxuirefreshcontrol-for-mvvmcross], love [http://motzcod.es/post/82102717747/xamarinandroid-swiperefreshlayout-for-mvvmcross] , love [http://motzcod.es/post/103224921992/pullswipe-to-refresh-for-xamarinforms-android] , love [http://motzcod.es/post/87917979362/pull-to-refresh-for-xamarinforms-ios] , love [http://motzcod.es/post/113280718807/official-pull-to-refresh-in-xamarinforms-140] pull to refresh! In face t…

James Montemagno James Montemagno

Adding a Disclosure Indicator Accessory to Xamarin.Forms ViewCells

Xamarin.Forms has a super powerful ListView. You can easily add custom cells, pull to refresh, headers, footers, and even sections with just a few lines of code. A while ago I talked about how to easily group items [http://motzcod.es/post/94643411707/enhancing-xamarinforms-listview-with-grouping] to display section headers in the ListView. You get a great native styling of section headers with just a few simple lines of code. One thing I have noticed and has bothered me specifically with iOS is…

James Montemagno James Montemagno

5 Tips to Properly Style Xamarin.Forms Apps

Xamarin.Forms’ default templates for applications are great! They give you everything you need to get up and running including all three of your app projects and your shared code project. Nothing is faster than this to get a cross-platform application spun up. One thing they don’t do by default is setup nice themes for your applications, in fact they simply use the default device themes, but we can do better. I wanted to take a quick second to share a few tips on making your Xamarin.Forms app b…

James Montemagno James Montemagno

Xamarin.Forms Image Caching in XAML

A lot of mobile applications have to deal with Images. There are a lot of awesome libraries for iOS and Android that will automatically download, optimize, and cache your images for you from a single line or two of code. Xamarin.Forms actually handles all of this for you automatically when you give the Image’s Source property an Image URL. You can read through the awesome documentation on the Xamarin developer portal [http://developer.xamarin.com/guides/cross-platform/xamarin-forms/working-with/…

James Montemagno James Montemagno

Material Design Theming for Xamarin.Forms Android Apps

Update: As of Xamarin.Forms 1.5.1 Material Design AppCompat is included! See the official blog to convert your app: https://blog.xamarin.com/material-design-for-your-xamarin-forms-android-apps/ I am an extremely big fan of Material Design for Android applications. Case and point is this tweet that I sent out last night: > I wish the entire world was themed with Material Design. — James Montemagno (@JamesMontemagno) April 4, 2015 [https://twitter.com/JamesMontemagno/status/5841695007082168…

James Montemagno James Montemagno

Official Pull To Refresh in Xamarin.Forms 1.4.0!

I can not lie when I say I LOVE pull to refresh in apps. Just search my blog and you will see tons of posts on how to implement it in Android, iOS, MVVMCross, and of course my crazy custom implementations for Xamarin.Forms. While those were nice custom renderers that provided a simple API, we finally have something official from Jason and the Xamarin.Forms team in 1.4.0 [http://forums.xamarin.com/discussion/35451/], which released this week. The API looks strikingly familiar: I couldn’t expla…

James Montemagno James Montemagno

Load More Items at End of ListView in Xamarin.Forms

I recently published a few blogs on how to add pull to refresh to your Xamarin.Forms iOS [http://motzcod.es/post/87917979362/pull-to-refresh-for-xamarin-forms-ios] and Android [http://motzcod.es/post/103224921992/pull-swipe-to-refresh-for-xamarin-forms-android] applications. This sparked a question from another developer [http://forums.xamarin.com/discussion/comment/95999/#Comment_95999] as to if you could swipe to load more at the bottom of the ListView. My feedback here is that a swipe to lo…

James Montemagno James Montemagno

Pull/Swipe To Refresh for Xamarin.Forms Android Apps

Update Xamarin.Forms now includes Pull To Refesh out of the box. Please read my article on it. It is true that I absolutely love cross platform settings [http://motzcod.es/post/102974754207/an-improved-cross-platform-settings-library-for-ios] for mobile applications built with Xamarin. However, there is something that I love even more… Pull To Refresh! It all started over year ago when I blogged about how to add a UIRefreshControl to MVVMCross iOS apps [http://motzcod.es/post/59125989518/mv…

James Montemagno James Montemagno