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

alimogh/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)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%