{"action":"created","issue":{"url":"https://api.github.com/repos/siacs/Conversations/issues/1104","labels_url":"https://api.github.com/repos/siacs/Conversations/issues/1104/labels{/name}","comments_url":"https://api.github.com/repos/siacs/Conversations/issues/1104/comments","events_url":"https://api.github.com/repos/siacs/Conversations/issues/1104/events","html_url":"https://github.com/siacs/Conversations/pull/1104","id":66024556,"number":1104,"title":"Enable end-conversation by swipe gesture","user":{"login":"BrianBlade","id":7414587,"avatar_url":"https://avatars.githubusercontent.com/u/7414587?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianBlade","html_url":"https://github.com/BrianBlade","followers_url":"https://api.github.com/users/BrianBlade/followers","following_url":"https://api.github.com/users/BrianBlade/following{/other_user}","gists_url":"https://api.github.com/users/BrianBlade/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianBlade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianBlade/subscriptions","organizations_url":"https://api.github.com/users/BrianBlade/orgs","repos_url":"https://api.github.com/users/BrianBlade/repos","events_url":"https://api.github.com/users/BrianBlade/events{/privacy}","received_events_url":"https://api.github.com/users/BrianBlade/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-02T22:34:35Z","updated_at":"2015-04-04T14:02:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/siacs/Conversations/pulls/1104","html_url":"https://github.com/siacs/Conversations/pull/1104","diff_url":"https://github.com/siacs/Conversations/pull/1104.diff","patch_url":"https://github.com/siacs/Conversations/pull/1104.patch"},"body":"I liked your idea to end a conversation by swiping it out and figured that its rather simple to implement when making use of another 3rd party library: https://github.com/timroes/EnhancedListView\r\nWhat do you think about this approach?"},"comment":{"url":"https://api.github.com/repos/siacs/Conversations/issues/comments/89582805","html_url":"https://github.com/siacs/Conversations/pull/1104#issuecomment-89582805","issue_url":"https://api.github.com/repos/siacs/Conversations/issues/1104","id":89582805,"user":{"login":"BrianBlade","id":7414587,"avatar_url":"https://avatars.githubusercontent.com/u/7414587?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianBlade","html_url":"https://github.com/BrianBlade","followers_url":"https://api.github.com/users/BrianBlade/followers","following_url":"https://api.github.com/users/BrianBlade/following{/other_user}","gists_url":"https://api.github.com/users/BrianBlade/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianBlade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianBlade/subscriptions","organizations_url":"https://api.github.com/users/BrianBlade/orgs","repos_url":"https://api.github.com/users/BrianBlade/repos","events_url":"https://api.github.com/users/BrianBlade/events{/privacy}","received_events_url":"https://api.github.com/users/BrianBlade/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T14:02:22Z","updated_at":"2015-04-04T14:02:22Z","body":">The problem is that on the next redraw the conversationList will be re-populated with the entire list of conversations the backend service has. Just removing it from the adapter list wont remove it from the backend. This is why we need to create a conversationBlackList and when a new redraw event comes in we will have to do conversationList.removeAll(conversationBlackList);\r\n\r\nOK, I think I understand now. Three questions, though:\r\n- Would you like to have another UndoStyle than SINGLE_POPUP? Otherwise a single blacklistedConversation should be sufficient. \r\n- If the blacklisted Conversation receives a new message the conversation it is not redrawn. Any Idea how to work around that? \r\n- Is it safe to only do the `conversationList.remove(blacklistedConversation)` in `onRefreshUiReal()` or am I missing something?"}}