{"action":"created","issue":{"url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/73","labels_url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/73/comments","events_url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/73/events","html_url":"https://github.com/h6ah4i/android-advancedrecyclerview/issues/73","id":96006097,"number":73,"title":"Button Clicking and expanding problem","user":{"login":"pecabum","id":3923803,"avatar_url":"https://avatars.githubusercontent.com/u/3923803?v=3","gravatar_id":"","url":"https://api.github.com/users/pecabum","html_url":"https://github.com/pecabum","followers_url":"https://api.github.com/users/pecabum/followers","following_url":"https://api.github.com/users/pecabum/following{/other_user}","gists_url":"https://api.github.com/users/pecabum/gists{/gist_id}","starred_url":"https://api.github.com/users/pecabum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pecabum/subscriptions","organizations_url":"https://api.github.com/users/pecabum/orgs","repos_url":"https://api.github.com/users/pecabum/repos","events_url":"https://api.github.com/users/pecabum/events{/privacy}","received_events_url":"https://api.github.com/users/pecabum/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-20T07:54:39Z","updated_at":"2015-07-20T11:19:52Z","closed_at":null,"body":"Hello , i have a button , but when it's clicked the view get expanded instead of doing the button action."},"comment":{"url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/comments/122853387","html_url":"https://github.com/h6ah4i/android-advancedrecyclerview/issues/73#issuecomment-122853387","issue_url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/73","id":122853387,"user":{"login":"h6ah4i","id":2552365,"avatar_url":"https://avatars.githubusercontent.com/u/2552365?v=3","gravatar_id":"","url":"https://api.github.com/users/h6ah4i","html_url":"https://github.com/h6ah4i","followers_url":"https://api.github.com/users/h6ah4i/followers","following_url":"https://api.github.com/users/h6ah4i/following{/other_user}","gists_url":"https://api.github.com/users/h6ah4i/gists{/gist_id}","starred_url":"https://api.github.com/users/h6ah4i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h6ah4i/subscriptions","organizations_url":"https://api.github.com/users/h6ah4i/orgs","repos_url":"https://api.github.com/users/h6ah4i/repos","events_url":"https://api.github.com/users/h6ah4i/events{/privacy}","received_events_url":"https://api.github.com/users/h6ah4i/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T11:19:51Z","updated_at":"2015-07-20T11:19:51Z","body":"Need to modify the  `onCheckCanExpandOrCollapseGroup()` method.\n\n### Solution 1\n\nMake the method returns `false` if the touched positon is on the button.\n\n- example; excluding mDragHandle\nhttps://github.com/h6ah4i/android-advancedrecyclerview/blob/master/example/src/main/java/com/h6ah4i/android/example/advrecyclerview/demo_eds/MyExpandableDraggableSwipeableItemAdapter.java#L293\n\n\n### Solution 2\n\nMake the method always returns `false` in order to disable default collapse/expand behavior. Set `OnClickListener` to item views and use `RecyclerViewExpandableItemManager.expandGroup()/collapaeGroup()`.\n\n- \nrelated issue: #11\n"}}