{"action":"created","issue":{"url":"https://api.github.com/repos/lipangit/JieCaoVideoPlayer/issues/390","repository_url":"https://api.github.com/repos/lipangit/JieCaoVideoPlayer","labels_url":"https://api.github.com/repos/lipangit/JieCaoVideoPlayer/issues/390/labels{/name}","comments_url":"https://api.github.com/repos/lipangit/JieCaoVideoPlayer/issues/390/comments","events_url":"https://api.github.com/repos/lipangit/JieCaoVideoPlayer/issues/390/events","html_url":"https://github.com/lipangit/JieCaoVideoPlayer/issues/390","id":177736674,"number":390,"title":"public static void startFullscreen(Context context...)参数Context感觉不是很合适","user":{"login":"Haoxiqiang","id":3881604,"avatar_url":"https://avatars.githubusercontent.com/u/3881604?v=3","gravatar_id":"","url":"https://api.github.com/users/Haoxiqiang","html_url":"https://github.com/Haoxiqiang","followers_url":"https://api.github.com/users/Haoxiqiang/followers","following_url":"https://api.github.com/users/Haoxiqiang/following{/other_user}","gists_url":"https://api.github.com/users/Haoxiqiang/gists{/gist_id}","starred_url":"https://api.github.com/users/Haoxiqiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haoxiqiang/subscriptions","organizations_url":"https://api.github.com/users/Haoxiqiang/orgs","repos_url":"https://api.github.com/users/Haoxiqiang/repos","events_url":"https://api.github.com/users/Haoxiqiang/events{/privacy}","received_events_url":"https://api.github.com/users/Haoxiqiang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-19T09:14:45Z","updated_at":"2016-09-19T09:39:25Z","closed_at":null,"body":"```\r\npublic static void startFullscreen(Context context, Class _class, String url, Object... objects) \r\n```\r\n这里是`Activity`比较好\r\n\r\n第一,需要根据这个`context`获取`Window.ID_ANDROID_CONTENT`,则必然是`Activity`\r\n```\r\nViewGroup vp = (ViewGroup) (JCUtils.getAppCompActivity(context)).findViewById(Window.ID_ANDROID_CONTENT);\r\n```\r\n第二,`getAppCompActivity`,如果`context`不是`AppCompActivity`可能会返回`null`,对于`hideSupportActionBar`就得再加判断了\r\n"},"comment":{"url":"https://api.github.com/repos/lipangit/JieCaoVideoPlayer/issues/comments/247949722","html_url":"https://github.com/lipangit/JieCaoVideoPlayer/issues/390#issuecomment-247949722","issue_url":"https://api.github.com/repos/lipangit/JieCaoVideoPlayer/issues/390","id":247949722,"user":{"login":"Haoxiqiang","id":3881604,"avatar_url":"https://avatars.githubusercontent.com/u/3881604?v=3","gravatar_id":"","url":"https://api.github.com/users/Haoxiqiang","html_url":"https://github.com/Haoxiqiang","followers_url":"https://api.github.com/users/Haoxiqiang/followers","following_url":"https://api.github.com/users/Haoxiqiang/following{/other_user}","gists_url":"https://api.github.com/users/Haoxiqiang/gists{/gist_id}","starred_url":"https://api.github.com/users/Haoxiqiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haoxiqiang/subscriptions","organizations_url":"https://api.github.com/users/Haoxiqiang/orgs","repos_url":"https://api.github.com/users/Haoxiqiang/repos","events_url":"https://api.github.com/users/Haoxiqiang/events{/privacy}","received_events_url":"https://api.github.com/users/Haoxiqiang/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T09:39:25Z","updated_at":"2016-09-19T09:39:25Z","body":"嗯,`README`加一个说明吧"}}
{"actor":{"display_login":"Haoxiqiang"}}