Xamarin–Converting int to string


In yesterday’s posting, I complained that Forms do not (yet) automatically Bad Dog convert strings to integers (or vice versa) and thus was “forced” to declare my integer values as strings. Today, I work around that problem by implementing an IValueConverter.

In yesterday’s code, for example, the Criterion’s Rating and Importance were declared as strings.

Today, we reset them to the semantically correct int,

Continued here

About Jesse Liberty

Jesse Liberty is the Principal Mobile Developer with IFS Core. He has three decades of experience writing and delivering software projects. He is the author of 2 dozen books and a couple dozen Pluralsight & LinkedIn Learning courses, and has been a Senior Technical Evangelist for Microsoft, a Distinguished Software Engineer for AT&T, a VP for Information Services for Citibank and a Software Architect for PBS. He is a Xamarin Certified Mobile Developer and a Xamarin MVP and a Microsoft MVP.
This entry was posted in Xamarin. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.