{"action":"created","comment":{"url":"https://api.github.com/repos/hung070996/ios_training/pulls/comments/211826053","pull_request_review_id":148329146,"id":211826053,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTgyNjA1Mw==","diff_hunk":"@@ -10,14 +10,42 @@ import UIKit\n import RxCocoa\n import RxSwift\n \n-class ViewController: UIViewController {\n+class ViewController: UIViewController, BindableType {\n     \n     @IBOutlet private var tableView: UITableView!\n-    @IBOutlet private var searchBar: UISearchBar!\n+    \n+    var viewModel: GenreViewModel!\n+    var bag = DisposeBag()","path":"DemoMVVM/DemoMVVM/Architecture/ViewController.swift","position":11,"original_position":11,"commit_id":"9b0402b872568c861ee60771d2fe16b6cef5c6a6","original_commit_id":"9b0402b872568c861ee60771d2fe16b6cef5c6a6","user":{"login":"tgdong2296","id":38901305,"node_id":"MDQ6VXNlcjM4OTAxMzA1","avatar_url":"https://avatars0.githubusercontent.com/u/38901305?v=4","gravatar_id":"","url":"https://api.github.com/users/tgdong2296","html_url":"https://github.com/tgdong2296","followers_url":"https://api.github.com/users/tgdong2296/followers","following_url":"https://api.github.com/users/tgdong2296/following{/other_user}","gists_url":"https://api.github.com/users/tgdong2296/gists{/gist_id}","starred_url":"https://api.github.com/users/tgdong2296/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgdong2296/subscriptions","organizations_url":"https://api.github.com/users/tgdong2296/orgs","repos_url":"https://api.github.com/users/tgdong2296/repos","events_url":"https://api.github.com/users/tgdong2296/events{/privacy}","received_events_url":"https://api.github.com/users/tgdong2296/received_events","type":"User","site_admin":false},"body":"dùng NSObject_Rx để không phải khởi tạo bag tại mỗi màn hình","created_at":"2018-08-22T04:28:40Z","updated_at":"2018-08-22T04:31:08Z","html_url":"https://github.com/hung070996/ios_training/pull/4#discussion_r211826053","pull_request_url":"https://api.github.com/repos/hung070996/ios_training/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/hung070996/ios_training/pulls/comments/211826053"},"html":{"href":"https://github.com/hung070996/ios_training/pull/4#discussion_r211826053"},"pull_request":{"href":"https://api.github.com/repos/hung070996/ios_training/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/hung070996/ios_training/pulls/4","id":210016507,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMDE2NTA3","html_url":"https://github.com/hung070996/ios_training/pull/4","diff_url":"https://github.com/hung070996/ios_training/pull/4.diff","patch_url":"https://github.com/hung070996/ios_training/pull/4.patch","issue_url":"https://api.github.com/repos/hung070996/ios_training/issues/4","number":4,"state":"open","locked":false,"title":"clean","user":{"login":"hung070996","id":40780984,"node_id":"MDQ6VXNlcjQwNzgwOTg0","avatar_url":"https://avatars0.githubusercontent.com/u/40780984?v=4","gravatar_id":"","url":"https://api.github.com/users/hung070996","html_url":"https://github.com/hung070996","followers_url":"https://api.github.com/users/hung070996/followers","following_url":"https://api.github.com/users/hung070996/following{/other_user}","gists_url":"https://api.github.com/users/hung070996/gists{/gist_id}","starred_url":"https://api.github.com/users/hung070996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hung070996/subscriptions","organizations_url":"https://api.github.com/users/hung070996/orgs","repos_url":"https://api.github.com/users/hung070996/repos","events_url":"https://api.github.com/users/hung070996/events{/privacy}","received_events_url":"https://api.github.com/users/hung070996/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-22T04:21:09Z","updated_at":"2018-08-22T04:31:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f33bc86922069fc57aa9637ad5e93ea4f3dd46ec","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hung070996/ios_training/pulls/4/commits","review_comments_url":"https://api.github.com/repos/hung070996/ios_training/pulls/4/comments","review_comment_url":"https://api.github.com/repos/hung070996/ios_training/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hung070996/ios_training/issues/4/comments","statuses_url":"https://api.github.com/repos/hung070996/ios_training/statuses/9b0402b872568c861ee60771d2fe16b6cef5c6a6","head":{"label":"hung070996:clean_architecture","ref":"clean_architecture","sha":"9b0402b872568c861ee60771d2fe16b6cef5c6a6","user":{"login":"hung070996","id":40780984,"node_id":"MDQ6VXNlcjQwNzgwOTg0","avatar_url":"https://avatars0.githubusercontent.com/u/40780984?v=4","gravatar_id":"","url":"https://api.github.com/users/hung070996","html_url":"https://github.com/hung070996","followers_url":"https://api.github.com/users/hung070996/followers","following_url":"https://api.github.com/users/hung070996/following{/other_user}","gists_url":"https://api.github.com/users/hung070996/gists{/gist_id}","starred_url":"https://api.github.com/users/hung070996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hung070996/subscriptions","organizations_url":"https://api.github.com/users/hung070996/orgs","repos_url":"https://api.github.com/users/hung070996/repos","events_url":"https://api.github.com/users/hung070996/events{/privacy}","received_events_url":"https://api.github.com/users/hung070996/received_events","type":"User","site_admin":false},"repo":{"id":139816679,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4MTY2Nzk=","name":"ios_training","full_name":"hung070996/ios_training","owner":{"login":"hung070996","id":40780984,"node_id":"MDQ6VXNlcjQwNzgwOTg0","avatar_url":"https://avatars0.githubusercontent.com/u/40780984?v=4","gravatar_id":"","url":"https://api.github.com/users/hung070996","html_url":"https://github.com/hung070996","followers_url":"https://api.github.com/users/hung070996/followers","following_url":"https://api.github.com/users/hung070996/following{/other_user}","gists_url":"https://api.github.com/users/hung070996/gists{/gist_id}","starred_url":"https://api.github.com/users/hung070996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hung070996/subscriptions","organizations_url":"https://api.github.com/users/hung070996/orgs","repos_url":"https://api.github.com/users/hung070996/repos","events_url":"https://api.github.com/users/hung070996/events{/privacy}","received_events_url":"https://api.github.com/users/hung070996/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hung070996/ios_training","description":null,"fork":false,"url":"https://api.github.com/repos/hung070996/ios_training","forks_url":"https://api.github.com/repos/hung070996/ios_training/forks","keys_url":"https://api.github.com/repos/hung070996/ios_training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hung070996/ios_training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hung070996/ios_training/teams","hooks_url":"https://api.github.com/repos/hung070996/ios_training/hooks","issue_events_url":"https://api.github.com/repos/hung070996/ios_training/issues/events{/number}","events_url":"https://api.github.com/repos/hung070996/ios_training/events","assignees_url":"https://api.github.com/repos/hung070996/ios_training/assignees{/user}","branches_url":"https://api.github.com/repos/hung070996/ios_training/branches{/branch}","tags_url":"https://api.github.com/repos/hung070996/ios_training/tags","blobs_url":"https://api.github.com/repos/hung070996/ios_training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hung070996/ios_training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hung070996/ios_training/git/refs{/sha}","trees_url":"https://api.github.com/repos/hung070996/ios_training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hung070996/ios_training/statuses/{sha}","languages_url":"https://api.github.com/repos/hung070996/ios_training/languages","stargazers_url":"https://api.github.com/repos/hung070996/ios_training/stargazers","contributors_url":"https://api.github.com/repos/hung070996/ios_training/contributors","subscribers_url":"https://api.github.com/repos/hung070996/ios_training/subscribers","subscription_url":"https://api.github.com/repos/hung070996/ios_training/subscription","commits_url":"https://api.github.com/repos/hung070996/ios_training/commits{/sha}","git_commits_url":"https://api.github.com/repos/hung070996/ios_training/git/commits{/sha}","comments_url":"https://api.github.com/repos/hung070996/ios_training/comments{/number}","issue_comment_url":"https://api.github.com/repos/hung070996/ios_training/issues/comments{/number}","contents_url":"https://api.github.com/repos/hung070996/ios_training/contents/{+path}","compare_url":"https://api.github.com/repos/hung070996/ios_training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hung070996/ios_training/merges","archive_url":"https://api.github.com/repos/hung070996/ios_training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hung070996/ios_training/downloads","issues_url":"https://api.github.com/repos/hung070996/ios_training/issues{/number}","pulls_url":"https://api.github.com/repos/hung070996/ios_training/pulls{/number}","milestones_url":"https://api.github.com/repos/hung070996/ios_training/milestones{/number}","notifications_url":"https://api.github.com/repos/hung070996/ios_training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hung070996/ios_training/labels{/name}","releases_url":"https://api.github.com/repos/hung070996/ios_training/releases{/id}","deployments_url":"https://api.github.com/repos/hung070996/ios_training/deployments","created_at":"2018-07-05T08:10:04Z","updated_at":"2018-08-22T04:17:16Z","pushed_at":"2018-08-22T04:23:57Z","git_url":"git://github.com/hung070996/ios_training.git","ssh_url":"git@github.com:hung070996/ios_training.git","clone_url":"https://github.com/hung070996/ios_training.git","svn_url":"https://github.com/hung070996/ios_training","homepage":null,"size":800,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"hung070996:master","ref":"master","sha":"c833045801b6100c79f69211750cbf5c2a63a753","user":{"login":"hung070996","id":40780984,"node_id":"MDQ6VXNlcjQwNzgwOTg0","avatar_url":"https://avatars0.githubusercontent.com/u/40780984?v=4","gravatar_id":"","url":"https://api.github.com/users/hung070996","html_url":"https://github.com/hung070996","followers_url":"https://api.github.com/users/hung070996/followers","following_url":"https://api.github.com/users/hung070996/following{/other_user}","gists_url":"https://api.github.com/users/hung070996/gists{/gist_id}","starred_url":"https://api.github.com/users/hung070996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hung070996/subscriptions","organizations_url":"https://api.github.com/users/hung070996/orgs","repos_url":"https://api.github.com/users/hung070996/repos","events_url":"https://api.github.com/users/hung070996/events{/privacy}","received_events_url":"https://api.github.com/users/hung070996/received_events","type":"User","site_admin":false},"repo":{"id":139816679,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4MTY2Nzk=","name":"ios_training","full_name":"hung070996/ios_training","owner":{"login":"hung070996","id":40780984,"node_id":"MDQ6VXNlcjQwNzgwOTg0","avatar_url":"https://avatars0.githubusercontent.com/u/40780984?v=4","gravatar_id":"","url":"https://api.github.com/users/hung070996","html_url":"https://github.com/hung070996","followers_url":"https://api.github.com/users/hung070996/followers","following_url":"https://api.github.com/users/hung070996/following{/other_user}","gists_url":"https://api.github.com/users/hung070996/gists{/gist_id}","starred_url":"https://api.github.com/users/hung070996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hung070996/subscriptions","organizations_url":"https://api.github.com/users/hung070996/orgs","repos_url":"https://api.github.com/users/hung070996/repos","events_url":"https://api.github.com/users/hung070996/events{/privacy}","received_events_url":"https://api.github.com/users/hung070996/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hung070996/ios_training","description":null,"fork":false,"url":"https://api.github.com/repos/hung070996/ios_training","forks_url":"https://api.github.com/repos/hung070996/ios_training/forks","keys_url":"https://api.github.com/repos/hung070996/ios_training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hung070996/ios_training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hung070996/ios_training/teams","hooks_url":"https://api.github.com/repos/hung070996/ios_training/hooks","issue_events_url":"https://api.github.com/repos/hung070996/ios_training/issues/events{/number}","events_url":"https://api.github.com/repos/hung070996/ios_training/events","assignees_url":"https://api.github.com/repos/hung070996/ios_training/assignees{/user}","branches_url":"https://api.github.com/repos/hung070996/ios_training/branches{/branch}","tags_url":"https://api.github.com/repos/hung070996/ios_training/tags","blobs_url":"https://api.github.com/repos/hung070996/ios_training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hung070996/ios_training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hung070996/ios_training/git/refs{/sha}","trees_url":"https://api.github.com/repos/hung070996/ios_training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hung070996/ios_training/statuses/{sha}","languages_url":"https://api.github.com/repos/hung070996/ios_training/languages","stargazers_url":"https://api.github.com/repos/hung070996/ios_training/stargazers","contributors_url":"https://api.github.com/repos/hung070996/ios_training/contributors","subscribers_url":"https://api.github.com/repos/hung070996/ios_training/subscribers","subscription_url":"https://api.github.com/repos/hung070996/ios_training/subscription","commits_url":"https://api.github.com/repos/hung070996/ios_training/commits{/sha}","git_commits_url":"https://api.github.com/repos/hung070996/ios_training/git/commits{/sha}","comments_url":"https://api.github.com/repos/hung070996/ios_training/comments{/number}","issue_comment_url":"https://api.github.com/repos/hung070996/ios_training/issues/comments{/number}","contents_url":"https://api.github.com/repos/hung070996/ios_training/contents/{+path}","compare_url":"https://api.github.com/repos/hung070996/ios_training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hung070996/ios_training/merges","archive_url":"https://api.github.com/repos/hung070996/ios_training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hung070996/ios_training/downloads","issues_url":"https://api.github.com/repos/hung070996/ios_training/issues{/number}","pulls_url":"https://api.github.com/repos/hung070996/ios_training/pulls{/number}","milestones_url":"https://api.github.com/repos/hung070996/ios_training/milestones{/number}","notifications_url":"https://api.github.com/repos/hung070996/ios_training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hung070996/ios_training/labels{/name}","releases_url":"https://api.github.com/repos/hung070996/ios_training/releases{/id}","deployments_url":"https://api.github.com/repos/hung070996/ios_training/deployments","created_at":"2018-07-05T08:10:04Z","updated_at":"2018-08-22T04:17:16Z","pushed_at":"2018-08-22T04:23:57Z","git_url":"git://github.com/hung070996/ios_training.git","ssh_url":"git@github.com:hung070996/ios_training.git","clone_url":"https://github.com/hung070996/ios_training.git","svn_url":"https://github.com/hung070996/ios_training","homepage":null,"size":800,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hung070996/ios_training/pulls/4"},"html":{"href":"https://github.com/hung070996/ios_training/pull/4"},"issue":{"href":"https://api.github.com/repos/hung070996/ios_training/issues/4"},"comments":{"href":"https://api.github.com/repos/hung070996/ios_training/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/hung070996/ios_training/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/hung070996/ios_training/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hung070996/ios_training/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/hung070996/ios_training/statuses/9b0402b872568c861ee60771d2fe16b6cef5c6a6"}},"author_association":"OWNER"}}
{"actor":{"display_login":"tgdong2296"}}