I'm in the process of setting up ads in Android and have been successful with adding Interstitials and Banner ads. I'm now in the process of setting up removal of the ads with a subscription and a reward.
The ad provider I use offer a reward for watching a video, I'd like to disable ads for 24 hours after a user watches one of these videos. What would be the best way of achieving this?
My initial thought would be to store a boolean and then revert it after 24 hours.
TL;DR - How do I change the value of a variable for 24 hours using shared preferences?