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

关于音频播放的问题 #281

Open
leeyushi opened this issue Nov 27, 2019 · 0 comments
Open

关于音频播放的问题 #281

leeyushi opened this issue Nov 27, 2019 · 0 comments

Comments

@leeyushi
Copy link

我有一个Activity,里面是一个音频播放界面,开始播放后,从当前Activity退出到其它页面,音频也还是在播放,但是再次进入音频播放的Activity,这个时候音频播放的Activity会从新初始化,在从新初始化的这个过程,我如何做到让旧的音频流服务,和新的视图绑定在一起,继续让视图的进度衔接音频的进度显示,而不从新初始化音频流?
因为我看到音频的播放组件,好像是和视图是绑定在一起的,初始化一个,就意味着两个都会初始化,所以我不知道应该怎么做

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