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 online courses. His latest book, Building APIs with .NET will be released early in 2025. Liberty is a Senior SW Engineer for CNH and 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 Microsoft MVP.
This entry was posted in Xamarin. Bookmark the permalink.