A Calculator App

images/src/sketches/sketch_xamarin.png

This week we’ll build a calculator app. It’s going to have a UI with a display and a grid of buttons and will run on both iOS and Android. We’ll use shared code for the calculator “engine” so that we have to write that only once. The code will be well tested, both in business logic and on the UI. Finally, we’ll add a feature allowing the user to convert a value in the calculator as if it were a currency value, from one currency to another.

On Day 1 we’ll build out the iOS and Android UIs and see how platform-specific development works in Xamarin. Then, on Day 2, we’ll test and build a calculator model, wire it up to the UI, and ...

Get Seven Mobile Apps in Seven Weeks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.