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

Share

About Jesse Liberty

Jesse Liberty is an independent consultant and programmer with three decades of experience writing and delivering software projects. He is the author of 2 dozen books and multiple Pluralsight 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, Microsoft MVP and Telerik MVP.
This entry was posted in Xamarin. Bookmark the permalink.

Leave a Reply

Your email address will not be published.