Add a floating button that instantly scrolls to and highlights the currently playing song in your playlist or queue. On tap, retrieve the current track index and use scrollToItem() to bring it into view. If the track isn't in the current list, show a simple toast: "Now playing outside this view". This keeps navigation fast and effortless in large libraries.
Add a floating button that instantly scrolls to and highlights the currently playing song in your playlist or queue. On tap, retrieve the current track index and use scrollToItem() to bring it into view. If the track isn't in the current list, show a simple toast: "Now playing outside this view". This keeps navigation fast and effortless in large libraries.