Skip to content

Simple calculator that also saves data using shared preferences between runtimes (base code is the previous calculator that also saves state)

License

Notifications You must be signed in to change notification settings

AndroidConu-2017/04-calculator

Repository files navigation

Calculator v 3

This is my solution for the simple Calculator exercise, with the added code to retain the last calculation done (input & result) between runtimes. It also stil retains the state of the result displayed on the screen from version 2.

Shared preferences are used to save the current result in onStop() then retrieve it in onCreate()

About

Simple calculator that also saves data using shared preferences between runtimes (base code is the previous calculator that also saves state)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages