Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotificationPlayer 'Play' Button Issue #95

Open
gavsta707 opened this issue Sep 5, 2019 · 0 comments
Open

NotificationPlayer 'Play' Button Issue #95

gavsta707 opened this issue Sep 5, 2019 · 0 comments

Comments

@gavsta707
Copy link

Hello,
I am currently experiencing an issue continuing audio in the NotificationPlayer. I am able to pause the audio, but am unable to hit play. I believe the issue is within the getInstance() method.

Here is a snippet of the function signature:
fun getInstance( context: Context, playlist: ArrayList<JcAudio>? = null, listener: JcPlayerManagerListener? = null ): ....

Based off the error messages i've received and the above method, i believe that the issue is that the playlist is getting emptied because of the getInstance call inside of the onReceive method. ( com.example.jean.jcplayer.general.errors.AudioListNullPointerException: The playlist is empty or null )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant