James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


Twitter


James Montemagno

Xamarin.Forms

Xamarin.Forms: Filtering a ListView with a Bindable Picker

In this edition of "Ask Motz", I will solve a very common problem when working with lists of data and how to filter them. I was recently asked how to do this completely with MVVM and data bindings without having any code behind in the page. @JamesMontemagno hi I had a bindable pucker with All,Open and Close as a items which is binding using MVVM pattern with Itemsource property.But I want to filter the list view based on the bindable picker view selection changed.may I know how i know…

James MontemagnoJames Montemagno

Xamarin.Forms - Icons in Navigation Toolbar

A somewhat common scenario for mobile apps is to place an icon in the center of the Navigation Toolbar. While I am not sure if this is really best practice in 2018 there still seems to be a lot of demand to do this. What if I was to tell you that this is actually pretty easy to do and for iOS it is built directly into Xamarin.Forms with no need for a custom renderer?Let's take the default "Master/Detail" template for Xamarin.Forms in Visual Studio. It has a few tabs and an about page that has th…

James MontemagnoJames Montemagno

Push Notification Options for Mobile Apps

My good friend Andrew and I recently had a Twitter conversation on what is the best route to take when implementing push notifications in your mobile applications. If you do a quick search there are a lot of options out there and it can be tricky to figure out the best route to take, but having implemented push notifications in several applications I can tell you there are really only two options you need to consider. How Push Notifications Work The reason push notifications are complicated is b…

James MontemagnoJames Montemagno

Getting Started with Xamarin and Xamarin.Forms Q&A

Every day when I open my inbox or look on GitHub there is always a question or ten for me to answer. I recently got a nice long email from Clifton with a lot of questions and I thought that instead of emailing him back directly that I should write up a blog post with all of my answers for the world to enjoy and add some common questions I get all the time. Clifton wrote in and said he is investigating cross-platform development with Xamarin and Xamarin.Forms as it is one unified application plat…

James MontemagnoJames Montemagno

Building Xamarin.Android Apps in Team Services (VSTS) with Hosted Agents!

I recently wrote about how to build any Xamarin.iOS application inside of Visual Studio Team Services using Hosted macOS Agents for free! I have updated the guide a little bit if you are leveraging .NET Standard libraries to ensure that you build with MSBuild, which is pretty important seeing that all of the new templates will soon use these. That had me thinking "I wonder if there are any small tweaks that are needed for Xamarin.Android when building on the Hosted Agents?"... Which le…

James MontemagnoJames Montemagno

I crush code and share it, publish NuGet packages, speak at conferences, upload videos, pretend I am good at playing video games, micro blog, tweet up a storm, drink gallons of coffee, and ride my bike. Checkout my monthly newsletter that you should subscribe to!