-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
i have no idea how to set the _queue dynamicly from the demo, not final from create #110
Comments
There is no reason why you couldn't do this with the APIs provided. You can call setQueue and pass in any parameter, which is not restricted to being a final list. You can write code to create any list and pass it in as the parameter. |
@ryanheise i set the _queue at another function but still get null from onXXXX function, may u have a try. |
If you're getting an error, please post the error (by the way, I have set this GitHub project up so that it asks you to fill in a template which includes all the information I need from you to address the issue. If you don't provide this information, I don't know how to help.) |
i set _queue in setPlayList() function also work from play() function but not works for @OverRide onStart function |
If you're getting an error, please post the error (by the way, I have set this GitHub project up so that it asks you to fill in a template which includes all the information I need from you to address the issue. If you don't provide this information, I don't know how to help.) |
i use AudioPlayerTask audio = new AudioPlayerTask(playList) to set the list dynamicly , but at on start function it was still empty. i dont know how to do, much thanks! |
I see, there's a miscommunication perhaps, but what I'm asking for is the error message. You already linked to the gist but that's not the error message. The error message is the output that you get when you attempt to run the app and it spits out error messages and hopefully including a stack trace with line numbers. Hopefully that clears up what I'm asking for when I ask for the error message. |
@ryanheise there is no error message , just about the usage, i dont know how to set the queue from outside, i run my code, the "_queue" in the onStart function always be empty. i must set the queue when music playlist request done async, did i describe it clearly? |
@ryanheise may u write a demo for request music list , much thanks! |
If there is no error, I misunderstood. What did you mean when you wrote " set the _queue at another function but still get null from onXXXX function"? What line number did you get a null? Please reference the gist since that has line numbers. |
@ryanheise line 85 to set queue, line 172 can not read the right queue. |
Line 85 is never executed because it is inside of a method that you never call, which suggests you might benefit from asking for programming help on forums like Stackoverflow or Gitter rather than filing an issue with audio_service. I will close this issue, and in future if you have an issue with this project, please open an issue using one of the provided templates. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with audio_service. |
No description provided.
The text was updated successfully, but these errors were encountered: