Very quick Xamarin How-To this week with a simple converter. Alternating row colours in a CollectionView is quite often a design requirement and I wanted to create a simple, reusable converter to solve this. The Converter [crayon-61e783ceb60bf222858920/] Using the Converter in XAML [crayon-61e783ceb60c7199327079/]There you go, nice and simple, easy to follow
Recently I have had to navigate through Xamarin.Forms Maps for a project. After some documentation reading I found that XF Maps does not offer a lot of the customisation and functionality of the native map libraries (MapKit and Google Maps). This left me having to write some custom renderers to complete the project's requirements.
On a recent app I worked on, there was a requirement for authentication within a WebView. For this to work custom request headers had to be sent through a Xamarin.Forms WebView. This is quite standard for a lot of hybrid web applications. I found some resources on the topic, however, all were quite outdated
Bottom sheets are becoming increasingly more popular in modern apps including Facebook, Instagram and Microsoft Teams. A bottom sheet comes in three main forms including: Standard - the sheet remains visible while users can interact with the rest of the content on the screen. Modal - the sheet must be dismissed to interact with
Due to the expanding number of packages that require Android X (namely Xamarin.Forms 5) it is essential that you can get an old project compiling and running on Android X. This can come as quite a challenge especially to massive projects that are quite old. Anyone who has tried to use the built in