You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 )
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 theonReceive
method. (com.example.jean.jcplayer.general.errors.AudioListNullPointerException: The playlist is empty or null
)JcPlayer/jcplayer/src/main/java/com/example/jean/jcplayer/service/notification/JcPlayerNotificationReceiver.kt
Line 12 in b64e2e5
The text was updated successfully, but these errors were encountered: