Skip to content Skip to sidebar Skip to footer

Data On Main Activity Doesn't Save / Load Properly With Sharedpreferences

If you look through each picture, from left to right, you'll notice on the last picture on the right, the points for Quiz One goes to 0... this is my problem This is a quiz app tha

Solution 1:

Don't manually call onStop these are special methods that you override only to perform some clean ups.

It is one of the activity life cycle method. You should move that code to the button click event.

Post a Comment for "Data On Main Activity Doesn't Save / Load Properly With Sharedpreferences"