{"action":"created","issue":{"url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/2085","repository_url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper","labels_url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/2085/labels{/name}","comments_url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/2085/comments","events_url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/2085/events","html_url":"https://github.com/CymChad/BaseRecyclerViewAdapterHelper/issues/2085","id":307897738,"number":2085,"title":"建议：convert优化建议","user":{"login":"jredthree","id":9894675,"avatar_url":"https://avatars1.githubusercontent.com/u/9894675?v=4","gravatar_id":"","url":"https://api.github.com/users/jredthree","html_url":"https://github.com/jredthree","followers_url":"https://api.github.com/users/jredthree/followers","following_url":"https://api.github.com/users/jredthree/following{/other_user}","gists_url":"https://api.github.com/users/jredthree/gists{/gist_id}","starred_url":"https://api.github.com/users/jredthree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jredthree/subscriptions","organizations_url":"https://api.github.com/users/jredthree/orgs","repos_url":"https://api.github.com/users/jredthree/repos","events_url":"https://api.github.com/users/jredthree/events{/privacy}","received_events_url":"https://api.github.com/users/jredthree/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-23T04:18:49Z","updated_at":"2018-03-29T03:06:57Z","closed_at":null,"author_association":"NONE","body":"convert方法最好把position给开放出来，毕竟有时候有一些判断需要用到position"},"comment":{"url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/comments/377106429","html_url":"https://github.com/CymChad/BaseRecyclerViewAdapterHelper/issues/2085#issuecomment-377106429","issue_url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/2085","id":377106429,"user":{"login":"AllenCoder","id":8213915,"avatar_url":"https://avatars1.githubusercontent.com/u/8213915?v=4","gravatar_id":"","url":"https://api.github.com/users/AllenCoder","html_url":"https://github.com/AllenCoder","followers_url":"https://api.github.com/users/AllenCoder/followers","following_url":"https://api.github.com/users/AllenCoder/following{/other_user}","gists_url":"https://api.github.com/users/AllenCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/AllenCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AllenCoder/subscriptions","organizations_url":"https://api.github.com/users/AllenCoder/orgs","repos_url":"https://api.github.com/users/AllenCoder/repos","events_url":"https://api.github.com/users/AllenCoder/events{/privacy}","received_events_url":"https://api.github.com/users/AllenCoder/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T03:06:57Z","updated_at":"2018-03-29T03:06:57Z","author_association":"COLLABORATOR","body":"可以通过 如下示例获取位置\r\n```\r\n@Override\r\n    protected void convert(BaseViewHolder helper, String item) {\r\n        switch (helper.getLayoutPosition() %\r\n                3) {\r\n            case 0:\r\n                helper.setImageResource(R.id.iv_head, R.mipmap.head_img0);\r\n                break;\r\n            case 1:\r\n                helper.setImageResource(R.id.iv_head, R.mipmap.head_img1);\r\n                break;\r\n            case 2:\r\n                helper.setImageResource(R.id.iv_head, R.mipmap.head_img2);\r\n                break;\r\n        }\r\n        helper.setText(R.id.tv, item);\r\n    }\r\n```"}}
{"actor":{"display_login":"AllenCoder"}}