Skip to content

Simple calculator that also saves state (base code is the previous calculator)

License

Notifications You must be signed in to change notification settings

AndroidConu-2017/03-calculator

Repository files navigation

Calculator v 2

This is my solution for the simple Calculator exercise, with the added code to retain the state of the result displayed on the screen

result is in a TextView so it is the programmer's responsibility to save and restore it as needed

override onSaveInstanceState() and onRestoreInstanceState()

also added Logging of the two methods & the result

About

Simple calculator that also saves state (base code is the previous calculator)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages