{"action":"created","issue":{"url":"https://api.github.com/repos/smuyyh/EasyAdapter/issues/6","repository_url":"https://api.github.com/repos/smuyyh/EasyAdapter","labels_url":"https://api.github.com/repos/smuyyh/EasyAdapter/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/smuyyh/EasyAdapter/issues/6/comments","events_url":"https://api.github.com/repos/smuyyh/EasyAdapter/issues/6/events","html_url":"https://github.com/smuyyh/EasyAdapter/issues/6","id":196865002,"number":6,"title":"通过Adapter.setClick实现点击监听事件没有效果。","user":{"login":"06304322","id":20898168,"avatar_url":"https://avatars.githubusercontent.com/u/20898168?v=3","gravatar_id":"","url":"https://api.github.com/users/06304322","html_url":"https://github.com/06304322","followers_url":"https://api.github.com/users/06304322/followers","following_url":"https://api.github.com/users/06304322/following{/other_user}","gists_url":"https://api.github.com/users/06304322/gists{/gist_id}","starred_url":"https://api.github.com/users/06304322/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/06304322/subscriptions","organizations_url":"https://api.github.com/users/06304322/orgs","repos_url":"https://api.github.com/users/06304322/repos","events_url":"https://api.github.com/users/06304322/events{/privacy}","received_events_url":"https://api.github.com/users/06304322/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-21T07:31:33Z","updated_at":"2016-12-22T07:24:25Z","closed_at":null,"body":"        trackListAdapter.setClick(new BaseRVAdapter.OnItemClick<Track.TrackContent>() {\r\n            private boolean isLike = false;\r\n\r\n            @Override\r\n            public void onItemClick(View v, int vId, int position, Track.TrackContent item) {\r\n                int num = item.totalLaud;\r\n                TextView likeTv = (TextView) v.findViewById(R.id.track_person_list_item_like_tv);\r\n                ImageView likeIv = (ImageView) v.findViewById(R.id.track_person_list_item_like_iv);\r\n                switch (vId) {\r\n                    case R.id.track_person_list_item_like_tv:\r\n                        if (isLike) {\r\n                            num--;\r\n                            likeTv.setText(num + \"\");\r\n                            likeIv.setImageResource(R.mipmap.like);\r\n                            isLike = false;\r\n                        } else {\r\n                            num++;\r\n                            likeTv.setText(num + \"\");\r\n                            likeIv.setImageResource(R.mipmap.like_green);\r\n                            isLike = true;\r\n                        }\r\n                        break;\r\n                }\r\n            }\r\n        });"},"comment":{"url":"https://api.github.com/repos/smuyyh/EasyAdapter/issues/comments/268736110","html_url":"https://github.com/smuyyh/EasyAdapter/issues/6#issuecomment-268736110","issue_url":"https://api.github.com/repos/smuyyh/EasyAdapter/issues/6","id":268736110,"user":{"login":"06304322","id":20898168,"avatar_url":"https://avatars.githubusercontent.com/u/20898168?v=3","gravatar_id":"","url":"https://api.github.com/users/06304322","html_url":"https://github.com/06304322","followers_url":"https://api.github.com/users/06304322/followers","following_url":"https://api.github.com/users/06304322/following{/other_user}","gists_url":"https://api.github.com/users/06304322/gists{/gist_id}","starred_url":"https://api.github.com/users/06304322/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/06304322/subscriptions","organizations_url":"https://api.github.com/users/06304322/orgs","repos_url":"https://api.github.com/users/06304322/repos","events_url":"https://api.github.com/users/06304322/events{/privacy}","received_events_url":"https://api.github.com/users/06304322/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T07:24:25Z","updated_at":"2016-12-22T07:24:25Z","body":"你的demo也不能实现监听，你写了那个监听但是没用。"}}
{"actor":{"display_login":"06304322"}}