Building Screens in Xamarin: XAML vs C#
Two roads diverged in a yellow wood,
And sorry I could not travel both
And be one traveler, long I stood
And looked down one as far as I could
To where it bent in the undergrowth;
The Road Not Taken — Robert Frost
The Two Roads
Xamarin forms development offers form construction either via XAML mark up or via code. I've been experimenting with both to see what route I would recommend to anyone building cross platform mobile applications with Xamarin.
What I've determined is that, for me, there isn't a clear winner. Both have positives and negatives that pretty much balance out. So in this post I will review each and give my perspective on when one might be more appropriate than the other. My hope is this will give you the information you need to answer for yourself and your scenario which option is the best choice. (more…)