Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 355 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 355 Bytes

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()