KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a ViewPager with multiple fragments. In one Fragment I play audio. When I swipe to another fragment I want to stop the audio playback. How do I detect that the another fragment is now visible in the ViewPager ? I've tried overriding onStop and onHiddenChanged . No success. There must be some "you're not active anymore" method to override. No?
Tags (comma-separated)
Save Edits
Cancel