• Tag

Xamarin.Forms

77 posts

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

If you have read motz.codes then you know I love, love, love, love, love pull to refresh! In face this is my sixth blog alone on adding pull/swipe to refresh to either MVVMCross or Xamarin.Forms applications. So why am I back with another blog seeing that the Xamarin.Forms team already add Official Pull to Refresh to 1.4? I am back because you asked me for it so nicely on GitHub, StackOverflow, and the Xamarin Forums …

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 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 the …

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.

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 …

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) …

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, which released this week. The API looks …

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 and Android applications. This sparked a question from another developer as to if you could swipe to load more at the bottom of the ListView. My feedback here is that a swipe to load more isn’t normal in mobile applications. A quick work around is to have a button as the final cell that is pressed to load more, but even better …

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 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. Google then introduced an official …

James Montemagno
Milli the dog peeking up from the bottom of the page