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 has three decades of experience writing and delivering software projects and is the author of 2 dozen books and a couple dozen Pluralsight & LinkedIn Learning courses. He was 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.