{"action":"created","comment":{"url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/pulls/comments/46834607","id":46834607,"diff_hunk":"@@ -29,7 +29,7 @@\n \tprivate Handler mHandler = new Handler();","path":"aviasalestemplate/src/main/java/ru/aviasales/template/filters/manager/FiltersManager.java","position":25,"original_position":25,"commit_id":"1753e6748be0fedc8bd2850981071264d50f7a9d","original_commit_id":"1753e6748be0fedc8bd2850981071264d50f7a9d","user":{"login":"nikslushkin","id":1586158,"avatar_url":"https://avatars.githubusercontent.com/u/1586158?v=3","gravatar_id":"","url":"https://api.github.com/users/nikslushkin","html_url":"https://github.com/nikslushkin","followers_url":"https://api.github.com/users/nikslushkin/followers","following_url":"https://api.github.com/users/nikslushkin/following{/other_user}","gists_url":"https://api.github.com/users/nikslushkin/gists{/gist_id}","starred_url":"https://api.github.com/users/nikslushkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikslushkin/subscriptions","organizations_url":"https://api.github.com/users/nikslushkin/orgs","repos_url":"https://api.github.com/users/nikslushkin/repos","events_url":"https://api.github.com/users/nikslushkin/events{/privacy}","received_events_url":"https://api.github.com/users/nikslushkin/received_events","type":"User","site_admin":false},"body":"получается, что хэндлер привязан к текущему потому, а это скорей всего UI поток. А дальше в него кидаются задачи фильтрации (правда сейчас они закомментированы). Выходит что тяжелый таски выполняются в UI потоке. А идея видимо была, сделать эти задачи асинхронными?","created_at":"2015-12-07T15:41:50Z","updated_at":"2015-12-07T15:41:50Z","html_url":"https://github.com/KosyanMedia/Aviasales-Android-SDK/pull/7#discussion_r46834607","pull_request_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/pulls/comments/46834607"},"html":{"href":"https://github.com/KosyanMedia/Aviasales-Android-SDK/pull/7#discussion_r46834607"},"pull_request":{"href":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/pulls/7","id":52830746,"html_url":"https://github.com/KosyanMedia/Aviasales-Android-SDK/pull/7","diff_url":"https://github.com/KosyanMedia/Aviasales-Android-SDK/pull/7.diff","patch_url":"https://github.com/KosyanMedia/Aviasales-Android-SDK/pull/7.patch","issue_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/issues/7","number":7,"state":"open","locked":false,"title":"new SearchForm screen","user":{"login":"Kpeved","id":8842917,"avatar_url":"https://avatars.githubusercontent.com/u/8842917?v=3","gravatar_id":"","url":"https://api.github.com/users/Kpeved","html_url":"https://github.com/Kpeved","followers_url":"https://api.github.com/users/Kpeved/followers","following_url":"https://api.github.com/users/Kpeved/following{/other_user}","gists_url":"https://api.github.com/users/Kpeved/gists{/gist_id}","starred_url":"https://api.github.com/users/Kpeved/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kpeved/subscriptions","organizations_url":"https://api.github.com/users/Kpeved/orgs","repos_url":"https://api.github.com/users/Kpeved/repos","events_url":"https://api.github.com/users/Kpeved/events{/privacy}","received_events_url":"https://api.github.com/users/Kpeved/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-07T11:01:52Z","updated_at":"2015-12-07T15:41:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8c15c4b24e8e2ed1543e106ecc473cc49c4babd","assignee":{"login":"nikslushkin","id":1586158,"avatar_url":"https://avatars.githubusercontent.com/u/1586158?v=3","gravatar_id":"","url":"https://api.github.com/users/nikslushkin","html_url":"https://github.com/nikslushkin","followers_url":"https://api.github.com/users/nikslushkin/followers","following_url":"https://api.github.com/users/nikslushkin/following{/other_user}","gists_url":"https://api.github.com/users/nikslushkin/gists{/gist_id}","starred_url":"https://api.github.com/users/nikslushkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikslushkin/subscriptions","organizations_url":"https://api.github.com/users/nikslushkin/orgs","repos_url":"https://api.github.com/users/nikslushkin/repos","events_url":"https://api.github.com/users/nikslushkin/events{/privacy}","received_events_url":"https://api.github.com/users/nikslushkin/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/pulls/7/commits","review_comments_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/pulls/7/comments","review_comment_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/issues/7/comments","statuses_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/statuses/1753e6748be0fedc8bd2850981071264d50f7a9d","head":{"label":"KosyanMedia:search_form_screen2.0","ref":"search_form_screen2.0","sha":"1753e6748be0fedc8bd2850981071264d50f7a9d","user":{"login":"KosyanMedia","id":449603,"avatar_url":"https://avatars.githubusercontent.com/u/449603?v=3","gravatar_id":"","url":"https://api.github.com/users/KosyanMedia","html_url":"https://github.com/KosyanMedia","followers_url":"https://api.github.com/users/KosyanMedia/followers","following_url":"https://api.github.com/users/KosyanMedia/following{/other_user}","gists_url":"https://api.github.com/users/KosyanMedia/gists{/gist_id}","starred_url":"https://api.github.com/users/KosyanMedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KosyanMedia/subscriptions","organizations_url":"https://api.github.com/users/KosyanMedia/orgs","repos_url":"https://api.github.com/users/KosyanMedia/repos","events_url":"https://api.github.com/users/KosyanMedia/events{/privacy}","received_events_url":"https://api.github.com/users/KosyanMedia/received_events","type":"Organization","site_admin":false},"repo":{"id":36373713,"name":"Aviasales-Android-SDK","full_name":"KosyanMedia/Aviasales-Android-SDK","owner":{"login":"KosyanMedia","id":449603,"avatar_url":"https://avatars.githubusercontent.com/u/449603?v=3","gravatar_id":"","url":"https://api.github.com/users/KosyanMedia","html_url":"https://github.com/KosyanMedia","followers_url":"https://api.github.com/users/KosyanMedia/followers","following_url":"https://api.github.com/users/KosyanMedia/following{/other_user}","gists_url":"https://api.github.com/users/KosyanMedia/gists{/gist_id}","starred_url":"https://api.github.com/users/KosyanMedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KosyanMedia/subscriptions","organizations_url":"https://api.github.com/users/KosyanMedia/orgs","repos_url":"https://api.github.com/users/KosyanMedia/repos","events_url":"https://api.github.com/users/KosyanMedia/events{/privacy}","received_events_url":"https://api.github.com/users/KosyanMedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KosyanMedia/Aviasales-Android-SDK","description":"Aviasales Android SDK and template project","fork":false,"url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK","forks_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/forks","keys_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/teams","hooks_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/hooks","issue_events_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/issues/events{/number}","events_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/events","assignees_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/assignees{/user}","branches_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/branches{/branch}","tags_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/tags","blobs_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/statuses/{sha}","languages_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/languages","stargazers_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/stargazers","contributors_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/contributors","subscribers_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/subscribers","subscription_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/subscription","commits_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/contents/{+path}","compare_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/merges","archive_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/downloads","issues_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/issues{/number}","pulls_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/pulls{/number}","milestones_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/milestones{/number}","notifications_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/labels{/name}","releases_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/releases{/id}","created_at":"2015-05-27T14:47:34Z","updated_at":"2015-11-28T02:46:29Z","pushed_at":"2015-12-07T15:11:54Z","git_url":"git://github.com/KosyanMedia/Aviasales-Android-SDK.git","ssh_url":"git@github.com:KosyanMedia/Aviasales-Android-SDK.git","clone_url":"https://github.com/KosyanMedia/Aviasales-Android-SDK.git","svn_url":"https://github.com/KosyanMedia/Aviasales-Android-SDK","homepage":null,"size":989,"stargazers_count":13,"watchers_count":13,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"open_issues_count":6,"forks":18,"open_issues":6,"watchers":13,"default_branch":"master"}},"base":{"label":"KosyanMedia:develop_2.0","ref":"develop_2.0","sha":"4a757d3026f33e5607c0d0c3a11a8a2c54c254c1","user":{"login":"KosyanMedia","id":449603,"avatar_url":"https://avatars.githubusercontent.com/u/449603?v=3","gravatar_id":"","url":"https://api.github.com/users/KosyanMedia","html_url":"https://github.com/KosyanMedia","followers_url":"https://api.github.com/users/KosyanMedia/followers","following_url":"https://api.github.com/users/KosyanMedia/following{/other_user}","gists_url":"https://api.github.com/users/KosyanMedia/gists{/gist_id}","starred_url":"https://api.github.com/users/KosyanMedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KosyanMedia/subscriptions","organizations_url":"https://api.github.com/users/KosyanMedia/orgs","repos_url":"https://api.github.com/users/KosyanMedia/repos","events_url":"https://api.github.com/users/KosyanMedia/events{/privacy}","received_events_url":"https://api.github.com/users/KosyanMedia/received_events","type":"Organization","site_admin":false},"repo":{"id":36373713,"name":"Aviasales-Android-SDK","full_name":"KosyanMedia/Aviasales-Android-SDK","owner":{"login":"KosyanMedia","id":449603,"avatar_url":"https://avatars.githubusercontent.com/u/449603?v=3","gravatar_id":"","url":"https://api.github.com/users/KosyanMedia","html_url":"https://github.com/KosyanMedia","followers_url":"https://api.github.com/users/KosyanMedia/followers","following_url":"https://api.github.com/users/KosyanMedia/following{/other_user}","gists_url":"https://api.github.com/users/KosyanMedia/gists{/gist_id}","starred_url":"https://api.github.com/users/KosyanMedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KosyanMedia/subscriptions","organizations_url":"https://api.github.com/users/KosyanMedia/orgs","repos_url":"https://api.github.com/users/KosyanMedia/repos","events_url":"https://api.github.com/users/KosyanMedia/events{/privacy}","received_events_url":"https://api.github.com/users/KosyanMedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KosyanMedia/Aviasales-Android-SDK","description":"Aviasales Android SDK and template project","fork":false,"url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK","forks_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/forks","keys_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/teams","hooks_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/hooks","issue_events_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/issues/events{/number}","events_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/events","assignees_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/assignees{/user}","branches_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/branches{/branch}","tags_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/tags","blobs_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/statuses/{sha}","languages_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/languages","stargazers_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/stargazers","contributors_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/contributors","subscribers_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/subscribers","subscription_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/subscription","commits_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/contents/{+path}","compare_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/merges","archive_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/downloads","issues_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/issues{/number}","pulls_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/pulls{/number}","milestones_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/milestones{/number}","notifications_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/labels{/name}","releases_url":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/releases{/id}","created_at":"2015-05-27T14:47:34Z","updated_at":"2015-11-28T02:46:29Z","pushed_at":"2015-12-07T15:11:54Z","git_url":"git://github.com/KosyanMedia/Aviasales-Android-SDK.git","ssh_url":"git@github.com:KosyanMedia/Aviasales-Android-SDK.git","clone_url":"https://github.com/KosyanMedia/Aviasales-Android-SDK.git","svn_url":"https://github.com/KosyanMedia/Aviasales-Android-SDK","homepage":null,"size":989,"stargazers_count":13,"watchers_count":13,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"open_issues_count":6,"forks":18,"open_issues":6,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/pulls/7"},"html":{"href":"https://github.com/KosyanMedia/Aviasales-Android-SDK/pull/7"},"issue":{"href":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/issues/7"},"comments":{"href":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/KosyanMedia/Aviasales-Android-SDK/statuses/1753e6748be0fedc8bd2850981071264d50f7a9d"}}}}