It is necessary to implement this ..
The Spinner has the following values: 30 minutes, 1 hour, 2 hours, 4 hours.
When selecting, it is necessary to allow 1 hour for the application to record the current time on the device and exactly one hour after that it would do something, say, turn off playback. In general, a timer is needed. How to implement such a way to dig?