{"action":"created","issue":{"url":"https://api.github.com/repos/MFlisar/DragSelectRecyclerView/issues/4","repository_url":"https://api.github.com/repos/MFlisar/DragSelectRecyclerView","labels_url":"https://api.github.com/repos/MFlisar/DragSelectRecyclerView/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/MFlisar/DragSelectRecyclerView/issues/4/comments","events_url":"https://api.github.com/repos/MFlisar/DragSelectRecyclerView/issues/4/events","html_url":"https://github.com/MFlisar/DragSelectRecyclerView/issues/4","id":283206245,"number":4,"title":"How to know when the dragging is finished?","user":{"login":"agi-umar","id":25791781,"avatar_url":"https://avatars2.githubusercontent.com/u/25791781?v=4","gravatar_id":"","url":"https://api.github.com/users/agi-umar","html_url":"https://github.com/agi-umar","followers_url":"https://api.github.com/users/agi-umar/followers","following_url":"https://api.github.com/users/agi-umar/following{/other_user}","gists_url":"https://api.github.com/users/agi-umar/gists{/gist_id}","starred_url":"https://api.github.com/users/agi-umar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agi-umar/subscriptions","organizations_url":"https://api.github.com/users/agi-umar/orgs","repos_url":"https://api.github.com/users/agi-umar/repos","events_url":"https://api.github.com/users/agi-umar/events{/privacy}","received_events_url":"https://api.github.com/users/agi-umar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-12-19T12:09:48Z","updated_at":"2017-12-19T13:41:13Z","closed_at":"2017-12-19T13:38:17Z","author_association":"NONE","body":"Currently I am using \r\n ```\r\nmDragSelectionProcessor = new DragSelectionProcessor(new DragSelectionProcessor.ISelectionHandler() {\r\n            @Override\r\n            public HashSet<Integer> getSelection() {\r\n                return mAdapter.getSelection();\r\n            }\r\n\r\n            @Override\r\n            public boolean isSelected(int index) {\r\n                return mAdapter.getSelection().contains(index);\r\n            }\r\n\r\n            @Override\r\n            public void updateSelection(int start, int end, boolean isSelected, boolean calledFromOnStart) {\r\n                mAdapter.selectRange(start, end, isSelected);\r\n            }\r\n        }).withMode(mMode);\r\n```\r\nI also tried \r\n```\r\nmDragSelectionProcessor  = new DragSelectTouchListener.OnAdvancedDragSelectListener()\r\n        {\r\n            @Override\r\n            public void onSelectChange(int start, int end, boolean isSelected) {\r\n                // update your selection\r\n                // range is inclusive start/end positions\r\n                mAdapter.selectRange(start, end, isSelected);\r\n            }\r\n\r\n            @Override\r\n            public void onSelectionStarted(int start) {\r\n                // drag selection was started at index start\r\n                Log.e(\"michaelflisar\",start+\" Start\");\r\n            }\r\n\r\n            @Override\r\n            public void onSelectionFinished(int end) {\r\n                Log.e(\"michaelflisar\",end+\" End\");\r\n                // drag selection was finished at index start\r\n            }\r\n        };\r\n```\r\nbut on using OnAdvancedDragSelectListener() the first cell is not selecting in the sample app you provided"},"comment":{"url":"https://api.github.com/repos/MFlisar/DragSelectRecyclerView/issues/comments/352752952","html_url":"https://github.com/MFlisar/DragSelectRecyclerView/issues/4#issuecomment-352752952","issue_url":"https://api.github.com/repos/MFlisar/DragSelectRecyclerView/issues/4","id":352752952,"user":{"login":"MFlisar","id":2437726,"avatar_url":"https://avatars1.githubusercontent.com/u/2437726?v=4","gravatar_id":"","url":"https://api.github.com/users/MFlisar","html_url":"https://github.com/MFlisar","followers_url":"https://api.github.com/users/MFlisar/followers","following_url":"https://api.github.com/users/MFlisar/following{/other_user}","gists_url":"https://api.github.com/users/MFlisar/gists{/gist_id}","starred_url":"https://api.github.com/users/MFlisar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MFlisar/subscriptions","organizations_url":"https://api.github.com/users/MFlisar/orgs","repos_url":"https://api.github.com/users/MFlisar/repos","events_url":"https://api.github.com/users/MFlisar/events{/privacy}","received_events_url":"https://api.github.com/users/MFlisar/received_events","type":"User","site_admin":false},"created_at":"2017-12-19T13:41:13Z","updated_at":"2017-12-19T13:41:13Z","author_association":"OWNER","body":"Glad I could help"}}
{"actor":{"display_login":"MFlisar"}}