阅读背景:

旋转屏幕发生时如何防止系统调用oncreate方法?

来源:互联网 

Hi stackoverflow friends. I have an player music and I call in oncreate playSong(id)(id is index of an array which has a path music in that index of array.But there is this problem that when rotates Screen then songs over and over plays from first index in array. I guess becuase oncreate method is called after each time event rotation. Also I want my app prevent from rotation becuse may be this event have bad effect in others activity.too, How I can fix these type of issues? Hi stackoverflow friends. I have an player musi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: