James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Xamarin

Connectivity Plugin 4.0: Important and Awesome Changes

The Connectivity Plugin for Xamarin [https://www.nuget.org/packages/Xam.Plugin.Connectivity] is my second most installed NuGet package with nearly 600,000 installs at time of writing this. It is easy to see why as it gives developers the ability to check connectivity on any platform with a single line of code, subscribe to events, and see what the current connection type is, with a complete cross platform API for iOS, Android, macOS, and Windows. I mean look at this thing, it is beautiful: i…

James Montemagno James Montemagno

The New Montemagno.com, a.k.a. MotzCod.es

It has been over 15 years since I started blogging on the internet and nearly 5 years since I started my dedicated development blog, MotzCod.es, focusing on cross-platform mobile development with Xamarin and C#. I have loved each and every moment of running my blogs and being able to write about my true passions in life. Throughout the years the number of blog posts I generated grew, readership grew, and I have also grown a lot in life and my career. With all that growth, I knew it was time for…

James Montemagno James Montemagno

The Xamarin.Android Template Pack Returns for VS 2017

A few years back I published some awesome Xamarin.Android item and project templates [https://visualstudiogallery.msdn.microsoft.com/bee6442f-8f5a-4bba-8849-e380b61e76b0?redir=0] to simplify development with Android’s AppCompat libraries. The item templates have actually found their way into Visual Studio, which is pretty awesome: What about the project templates? Well I am hoping for this fall to unleash brand new templates for Xamarin.Android directly in the box, but until then I have updat…

James Montemagno James Montemagno

Removing BottomNavigationView’s Icon Shifting in Xamarin.Android

I recently blogged about Android’s super fancy new BottomNavigationView [https://blog.xamarin.com/exploring-androids-bottom-navigation-view/], and how easy it was to get started with them in your Xamarin.Android application. I also went through a lot of color customizations that developers can blend in to really make their BottomNavigationView stand out. While this new bottom navigation is awesome, it is also still brand new with a lot of features locked behind internals and hidden fields, whi…

James Montemagno James Montemagno

Easily Clean Bin/Obj Folders

In an earlier blog post I talked about how to clean up space on your Xamarin Developer machine [http://motzcod.es/post/158519702967/cleanup-up-space-xamarin-dev-machine] by deleting old installations, NuGet cache, and Android junk sitting around. We can take it one step further and delete all of that clutter that is built up in the bin/obj folders! This can be gigs of data. Here is my GitHub folder: Inside of each of my repo folders sits code and the bin/obj folders from each build, which can…

James Montemagno James Montemagno

C# Developers: Stop Calling .Result

I love async/await Task based programming! I talk about it in all my demos, it is in all my libraries, and Frank and I did a whole Merge Conflict podcast episode [http://www.mergeconflict.fm/merge-conflict-44-i-love-callbacks] on it. The problem is that I keep getting bug reports and seeing samples where it is being abused and used completely wrong. I am never a fan of calling a lot of async code in a constructor or in the OnCreate/AppDelegate, but the real issue is when I see stuff like this w…

James Montemagno James Montemagno

Xamarin.Forms: Microsoft Advertising SDK in UWP

In the past I have written about how to integrate Google’s Admob ads into Xamarin.Forms iOS apps [https://montemagno.com/xamarinforms-google-admob-ads-in-ios] and Android apps [https://montemagno.com/xamarinforms-google-admob-ads-in-android], which is a great way to monetize your applications. What about UWP? Well Google Admob doesn’t exist on UWP, but Microsoft has their own advertising SDK that you can integrate and it of course works with Xamarin.Forms! Here is what you need to know to get…

James Montemagno James Montemagno

Moving Plugins for Xamarin to .NET Standard

I could never imagine the amazing response to Plugins for Xamarin [http://xamarin.com/plugins], those amazing little libraries that abstract away all that platform specific code into a lovely cross-platform API for iOS, Android, and Windows. They sure have grown, with hundreds of plugins being generated by the community and with tons of installs. My plugins alone have now hit 3 Million installations! With all this momentum it is a great time to look to the future, simplify plugins, and take the…

James Montemagno James Montemagno