Equalizer stops 10 seconds after exiting the fragment
I am a beginner in the world of programming, and now I am working on developing an audio player by adding an equalizer, but I encountered a problem, which is after 10 seconds of pressing the back button and exiting the fragment, the equalizer stops and does not work until after opening the page again.
Also, when playing another audio, the equalizer stops and does not work until the fragment is opened again.
I have tried to fix it but to no avail, Plz Help..
public class MainActivityEqualizer...