Android SDK - subscribeToPlayerState called multiple times
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm a software engineer, and I'm working on a new application based on Spotify.
I started to played a playlist, and it's works.
But after, I tried to get the player state, and I don't know why, the function subscribeToPlayerState is called multiples times, for the same state, (for example, when the playlist starting, the playerstate is called 4 times the the same track).
It's a problem for me, because I need to start a process when the player state change.
I found some similiar subject on Github or stakeoverflow, but no one has a workarround.
Is there a way to prevent multiple playerstate called ?
Thanks in advance,
Labels:
- Labels:
-
Android SDK
-
App Remote SDK
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page