{"action":"created","issue":{"url":"https://api.github.com/repos/yangchaojiang/yjPlay/issues/22","repository_url":"https://api.github.com/repos/yangchaojiang/yjPlay","labels_url":"https://api.github.com/repos/yangchaojiang/yjPlay/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/yangchaojiang/yjPlay/issues/22/comments","events_url":"https://api.github.com/repos/yangchaojiang/yjPlay/issues/22/events","html_url":"https://github.com/yangchaojiang/yjPlay/issues/22","id":266380875,"number":22,"title":"Fragment中 list列表播放，点击全屏后，再点击左上角返回，就会退出整个应用而不是返回到list列表中","user":{"login":"RookieExaminer","id":23047162,"avatar_url":"https://avatars2.githubusercontent.com/u/23047162?v=4","gravatar_id":"","url":"https://api.github.com/users/RookieExaminer","html_url":"https://github.com/RookieExaminer","followers_url":"https://api.github.com/users/RookieExaminer/followers","following_url":"https://api.github.com/users/RookieExaminer/following{/other_user}","gists_url":"https://api.github.com/users/RookieExaminer/gists{/gist_id}","starred_url":"https://api.github.com/users/RookieExaminer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RookieExaminer/subscriptions","organizations_url":"https://api.github.com/users/RookieExaminer/orgs","repos_url":"https://api.github.com/users/RookieExaminer/repos","events_url":"https://api.github.com/users/RookieExaminer/events{/privacy}","received_events_url":"https://api.github.com/users/RookieExaminer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2017-10-18T07:07:59Z","updated_at":"2017-10-18T09:29:57Z","closed_at":null,"author_association":"NONE","body":"使用版本   compile 'com.ycjiang:VideoPlayModule:1.5.7.2'\r\n\r\nFragment中 list列表播放，点击全屏后，再点击左上角返回，就会退出整个应用而不是返回到list列表中。\r\n\r\n\r\n![img_20171018_150459](https://user-images.githubusercontent.com/23047162/31704949-1924e056-b416-11e7-9aae-a23f437e6687.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/yangchaojiang/yjPlay/issues/comments/337523556","html_url":"https://github.com/yangchaojiang/yjPlay/issues/22#issuecomment-337523556","issue_url":"https://api.github.com/repos/yangchaojiang/yjPlay/issues/22","id":337523556,"user":{"login":"RookieExaminer","id":23047162,"avatar_url":"https://avatars2.githubusercontent.com/u/23047162?v=4","gravatar_id":"","url":"https://api.github.com/users/RookieExaminer","html_url":"https://github.com/RookieExaminer","followers_url":"https://api.github.com/users/RookieExaminer/followers","following_url":"https://api.github.com/users/RookieExaminer/following{/other_user}","gists_url":"https://api.github.com/users/RookieExaminer/gists{/gist_id}","starred_url":"https://api.github.com/users/RookieExaminer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RookieExaminer/subscriptions","organizations_url":"https://api.github.com/users/RookieExaminer/orgs","repos_url":"https://api.github.com/users/RookieExaminer/repos","events_url":"https://api.github.com/users/RookieExaminer/events{/privacy}","received_events_url":"https://api.github.com/users/RookieExaminer/received_events","type":"User","site_admin":false},"created_at":"2017-10-18T09:29:57Z","updated_at":"2017-10-18T09:29:57Z","author_association":"NONE","body":"不行。 滑动报错。 \r\n代码我是这样设置的：\r\n             helper.textView.setText(\"厉害了\");\r\n                helper.userPlayer.setTitle(item.getGroup().getText());\r\n                helper.userPlayer.setPlayUri(item.getGroup().getMp4_url());\r\n                break;\r\n            default:\r\n        }\r\n    }\r\n\r\n    public class SatinViewHolder extends BaseViewHolder {\r\n        ManualPlayer userPlayer;\r\n        VideoPlayerView playerView;\r\n        View itemView;\r\n        TextView textView;\r\n\r\n        public SatinViewHolder(View view) {\r\n            super(view);\r\n            itemView = view;\r\n            textView = (TextView) view.findViewById(R.id.mCategory_homepage_video);\r\n            playerView = (VideoPlayerView) view.findViewById(R.id.exo_play_context_id_video);\r\n            userPlayer = new ManualPlayer((Activity) mContext, playerView);\r\n        }\r\n\r\n    }\r\n只用设置textView的时候可以 \r\n设置视频 滑动报错\r\n Process: test.azheng.pers.satin, PID: 30343\r\n                                                                        java.lang.ClassCastException: com.chad.library.adapter.base.BaseViewHolder cannot be cast to test.azheng.pers.satin.adapter.SatinAdapter$SatinViewHolder\r\n                                                                            at test.azheng.pers.satin.adapter.SatinAdapter.convert(SatinAdapter.java:35)\r\n                                                                            at com.chad.library.adapter.base.BaseQuickAdapter.onBindViewHolder(BaseQuickAdapter.java:882)\r\n                                                                            at com.chad.library.adapter.base.BaseQuickAdapter.onBindViewHolder(BaseQuickAdapter.java:68)\r\n                                                                            at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:6356)\r\n                                                                            at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:6389)\r\n                                                                            at android.support.v7.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:5335)\r\n                                                                            at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5598)\r\n                                                                            at android.support.v7.widget.GapWorker.prefetchPositionWithDeadline(GapWorker.java:282)\r\n                                                                            at android.support.v7.widget.GapWorker.flushTaskWithDeadline(GapWorker.java:336)\r\n                                                                            at android.support.v7.widget.GapWorker.flushTasksWithDeadline(GapWorker.java:349)\r\n                                                                            at android.support.v7.widget.GapWorker.prefetch(GapWorker.java:356)\r\n                                                                            at android.support.v7.widget.GapWorker.run(GapWorker.java:387)\r\n                                                                            at android.os.Handler.handleCallback(Handler.java:742)\r\n                                                                            at android.os.Handler.dispatchMessage(Handler.java:95)\r\n                                                                            at android.os.Looper.loop(Looper.java:154)\r\n                                                                            at android.app.ActivityThread.main(ActivityThread.java:5527)\r\n                                                                            at java.lang.reflect.Method.invoke(Native Method)\r\n                                                                            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)\r\n                                                                            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)"}}
{"actor":{"display_login":"RookieExaminer"}}