Posts

Showing posts with the label Xamarin

Xamarin Forms Best Practices

Image
Purpose The objective of this Wiki is to describe rules, recommendations, and practices for developing Xamarin Forms applications. Just like any structure, having a solid foundation is critical. Starting our solution out correctly and implementing good practices from the start makes your day to day life so much easier Choose between PCL and Shared Based on need: There are really two types of solutions that could be used: Portable and Shared. You want portable. It is more versatile and suffers less from misc. ‘weirdnesses’. Portable will make the structure you saw earlier with the Portable Class Library (PCL). It is the more widely used solution type and the most recommended one for bunch of reasons, but here are the primary two: Almost every single scrap of documentation for the important things you need to do in a Xamarin Forms app is written for PCL, and The conditional compilation logic used in Shared Projects is messy and annoying. It’s way too “Windows 8” to...