{"action":"created","issue":{"url":"https://api.github.com/repos/futuresimple/android-floating-action-button/issues/187","labels_url":"https://api.github.com/repos/futuresimple/android-floating-action-button/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/futuresimple/android-floating-action-button/issues/187/comments","events_url":"https://api.github.com/repos/futuresimple/android-floating-action-button/issues/187/events","html_url":"https://github.com/futuresimple/android-floating-action-button/issues/187","id":73257683,"number":187,"title":"Bug: when adding onClickListener for the FloatingActionButton ,they respond to clicks even when FloatingActionsMenu is collapsed","user":{"login":"AndroidDeveloperLB","id":5357526,"avatar_url":"https://avatars.githubusercontent.com/u/5357526?v=3","gravatar_id":"","url":"https://api.github.com/users/AndroidDeveloperLB","html_url":"https://github.com/AndroidDeveloperLB","followers_url":"https://api.github.com/users/AndroidDeveloperLB/followers","following_url":"https://api.github.com/users/AndroidDeveloperLB/following{/other_user}","gists_url":"https://api.github.com/users/AndroidDeveloperLB/gists{/gist_id}","starred_url":"https://api.github.com/users/AndroidDeveloperLB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndroidDeveloperLB/subscriptions","organizations_url":"https://api.github.com/users/AndroidDeveloperLB/orgs","repos_url":"https://api.github.com/users/AndroidDeveloperLB/repos","events_url":"https://api.github.com/users/AndroidDeveloperLB/events{/privacy}","received_events_url":"https://api.github.com/users/AndroidDeveloperLB/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-05T09:19:50Z","updated_at":"2015-05-05T12:12:57Z","closed_at":"2015-05-05T12:12:57Z","body":"As the title says.\r\n\r\nWorkaround for this:\r\n\r\n        mFloatingActionsMenu.setOnFloatingActionsMenuUpdateListener(new FloatingActionsMenu.OnFloatingActionsMenuUpdateListener() {\r\n            @Override\r\n            public void onMenuExpanded() {\r\n                // for each of the FloatingActionButton, call setVisibility(View.VISIBLE)\r\n            }\r\n\r\n            @Override\r\n            public void onMenuCollapsed() {\r\n                // for each of the FloatingActionButton, call setVisibility(View.GONE)\r\n            }\r\n        });"},"comment":{"url":"https://api.github.com/repos/futuresimple/android-floating-action-button/issues/comments/99063232","html_url":"https://github.com/futuresimple/android-floating-action-button/issues/187#issuecomment-99063232","issue_url":"https://api.github.com/repos/futuresimple/android-floating-action-button/issues/187","id":99063232,"user":{"login":"AndroidDeveloperLB","id":5357526,"avatar_url":"https://avatars.githubusercontent.com/u/5357526?v=3","gravatar_id":"","url":"https://api.github.com/users/AndroidDeveloperLB","html_url":"https://github.com/AndroidDeveloperLB","followers_url":"https://api.github.com/users/AndroidDeveloperLB/followers","following_url":"https://api.github.com/users/AndroidDeveloperLB/following{/other_user}","gists_url":"https://api.github.com/users/AndroidDeveloperLB/gists{/gist_id}","starred_url":"https://api.github.com/users/AndroidDeveloperLB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndroidDeveloperLB/subscriptions","organizations_url":"https://api.github.com/users/AndroidDeveloperLB/orgs","repos_url":"https://api.github.com/users/AndroidDeveloperLB/repos","events_url":"https://api.github.com/users/AndroidDeveloperLB/events{/privacy}","received_events_url":"https://api.github.com/users/AndroidDeveloperLB/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T12:12:57Z","updated_at":"2015-05-05T12:12:57Z","body":"Forget about this. Seems like I had an old version of the library. It was probably fixed a long time ago."}}