{"action":"opened","issue":{"url":"https://api.github.com/repos/huburt-Hu/NewbieGuide/issues/83","repository_url":"https://api.github.com/repos/huburt-Hu/NewbieGuide","labels_url":"https://api.github.com/repos/huburt-Hu/NewbieGuide/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/huburt-Hu/NewbieGuide/issues/83/comments","events_url":"https://api.github.com/repos/huburt-Hu/NewbieGuide/issues/83/events","html_url":"https://github.com/huburt-Hu/NewbieGuide/issues/83","id":369969736,"node_id":"MDU6SXNzdWUzNjk5Njk3MzY=","number":83,"title":"怎么样监听点击特定区域关闭？","user":{"login":"palorotolo","id":25273860,"node_id":"MDQ6VXNlcjI1MjczODYw","avatar_url":"https://avatars0.githubusercontent.com/u/25273860?v=4","gravatar_id":"","url":"https://api.github.com/users/palorotolo","html_url":"https://github.com/palorotolo","followers_url":"https://api.github.com/users/palorotolo/followers","following_url":"https://api.github.com/users/palorotolo/following{/other_user}","gists_url":"https://api.github.com/users/palorotolo/gists{/gist_id}","starred_url":"https://api.github.com/users/palorotolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palorotolo/subscriptions","organizations_url":"https://api.github.com/users/palorotolo/orgs","repos_url":"https://api.github.com/users/palorotolo/repos","events_url":"https://api.github.com/users/palorotolo/events{/privacy}","received_events_url":"https://api.github.com/users/palorotolo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-15T01:49:27Z","updated_at":"2018-10-15T01:49:27Z","closed_at":null,"author_association":"NONE","body":"比如点击【我知道啦】就关闭，这是目前的代码：\r\n````\r\nView itemView = recyclerView.getChildAt(8);\r\nHighlightOptions options = new HighlightOptions.Builder()\r\n        .setRelativeGuide(new RelativeGuide(R.layout.view_guide_simple,\r\n                Gravity.TOP, 50) {\r\n            @Override\r\n            protected void onLayoutInflated(View view) {\r\n//                                TextView textView = view.findViewById(R.id.tv);\r\n//                                textView.setText(\"inflated\");\r\n            }\r\n        })\r\n        .setOnClickListener(new View.OnClickListener() {\r\n            @Override\r\n            public void onClick(View v) {\r\n                Toast.makeText(\r\n                        RecyclerViewActivity.this,\r\n                        \"highlight click\",\r\n                        Toast.LENGTH_SHORT).show();\r\n            }\r\n        })\r\n        .build();\r\nGuidePage guidePage = GuidePage.newInstance()\r\n        .addHighLightWithOptions(itemView, options);\r\nNewbieGuide.with(RecyclerViewActivity.this)\r\n        .setLabel(\"guide1\")\r\n        .alwaysShow(true)\r\n        .addGuidePage(guidePage)\r\n        .show();\r\n\r\n```"}}
{"actor":{"display_login":"palorotolo"}}