{"action":"created","issue":{"url":"https://api.github.com/repos/Bigkoo/Android-PickerView/issues/494","repository_url":"https://api.github.com/repos/Bigkoo/Android-PickerView","labels_url":"https://api.github.com/repos/Bigkoo/Android-PickerView/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/Bigkoo/Android-PickerView/issues/494/comments","events_url":"https://api.github.com/repos/Bigkoo/Android-PickerView/issues/494/events","html_url":"https://github.com/Bigkoo/Android-PickerView/issues/494","id":293018717,"number":494,"title":"weelview控件中int itemsVisible = 11","user":{"login":"ximencx","id":7472071,"avatar_url":"https://avatars2.githubusercontent.com/u/7472071?v=4","gravatar_id":"","url":"https://api.github.com/users/ximencx","html_url":"https://github.com/ximencx","followers_url":"https://api.github.com/users/ximencx/followers","following_url":"https://api.github.com/users/ximencx/following{/other_user}","gists_url":"https://api.github.com/users/ximencx/gists{/gist_id}","starred_url":"https://api.github.com/users/ximencx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ximencx/subscriptions","organizations_url":"https://api.github.com/users/ximencx/orgs","repos_url":"https://api.github.com/users/ximencx/repos","events_url":"https://api.github.com/users/ximencx/events{/privacy}","received_events_url":"https://api.github.com/users/ximencx/received_events","type":"User","site_admin":false},"labels":[{"id":161283537,"url":"https://api.github.com/repos/Bigkoo/Android-PickerView/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-31T03:25:36Z","updated_at":"2018-02-28T02:45:39Z","closed_at":"2018-02-28T02:42:29Z","author_association":"NONE","body":"能否开放出来设置的api？？"},"comment":{"url":"https://api.github.com/repos/Bigkoo/Android-PickerView/issues/comments/369102745","html_url":"https://github.com/Bigkoo/Android-PickerView/issues/494#issuecomment-369102745","issue_url":"https://api.github.com/repos/Bigkoo/Android-PickerView/issues/494","id":369102745,"user":{"login":"ximencx","id":7472071,"avatar_url":"https://avatars2.githubusercontent.com/u/7472071?v=4","gravatar_id":"","url":"https://api.github.com/users/ximencx","html_url":"https://github.com/ximencx","followers_url":"https://api.github.com/users/ximencx/followers","following_url":"https://api.github.com/users/ximencx/following{/other_user}","gists_url":"https://api.github.com/users/ximencx/gists{/gist_id}","starred_url":"https://api.github.com/users/ximencx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ximencx/subscriptions","organizations_url":"https://api.github.com/users/ximencx/orgs","repos_url":"https://api.github.com/users/ximencx/repos","events_url":"https://api.github.com/users/ximencx/events{/privacy}","received_events_url":"https://api.github.com/users/ximencx/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T02:45:39Z","updated_at":"2018-02-28T02:45:39Z","author_association":"NONE","body":"```\r\n private void setHookItemVisible(WheelView year) {\r\n        try {\r\n            Class<?> clazz = year.getClass();// 获取到对象对应的class对象\r\n            Field typeField = clazz.getDeclaredField(\"itemsVisible\");\r\n            typeField.setAccessible(true);\r\n            typeField.set(year, 7);\r\n        } catch (Exception e) {\r\n            e.printStackTrace();\r\n        }\r\n    }\r\n```\r\n可以反射设置 不过效果不好"}}
{"actor":{"display_login":"ximencx"}}