{"action":"created","comment":{"url":"https://api.github.com/repos/1PakMan1/Exercisetwo/pulls/comments/226862326","pull_request_review_id":166784520,"id":226862326,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjg2MjMyNg==","diff_hunk":"@@ -20,24 +25,43 @@ class NewsListActivity : AppCompatActivity(), NewsListAdapter.OnItemClickListene\n     }\n \n     private val NUM_OF_COLUMNS = 2\n+    private var newsRelease = NewsReleaseInteractor()\n+    private lateinit var newsSubscription : Disposable\n \n     override fun onCreate(savedInstanceState: Bundle?) {\n         super.onCreate(savedInstanceState)\n         setContentView(R.layout.news_list_layout)\n \n         setSupportActionBar(main_tb)\n \n-        //Init data set\n-        val newsDataSet = DataUtils.generateNews()\n-\n         //Set layout manager\n         news_itemlist_root.layoutManager = getLayoutManager(this.resources.configuration.orientation)\n \n         //Set adapter\n-        news_itemlist_root.adapter = NewsListAdapter(newsDataSet, this)\n+        news_itemlist_root.adapter = NewsListAdapter(ArrayList(), this)","path":"app/src/main/java/com/example/amandlangawetu/exercisetwo/NewsListActivity.kt","position":36,"original_position":36,"commit_id":"1d42c4f360d6e3634f1744ea6b4aabf27e1728a2","original_commit_id":"1d42c4f360d6e3634f1744ea6b4aabf27e1728a2","user":{"login":"LionZXY","id":5871715,"node_id":"MDQ6VXNlcjU4NzE3MTU=","avatar_url":"https://avatars1.githubusercontent.com/u/5871715?v=4","gravatar_id":"","url":"https://api.github.com/users/LionZXY","html_url":"https://github.com/LionZXY","followers_url":"https://api.github.com/users/LionZXY/followers","following_url":"https://api.github.com/users/LionZXY/following{/other_user}","gists_url":"https://api.github.com/users/LionZXY/gists{/gist_id}","starred_url":"https://api.github.com/users/LionZXY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LionZXY/subscriptions","organizations_url":"https://api.github.com/users/LionZXY/orgs","repos_url":"https://api.github.com/users/LionZXY/repos","events_url":"https://api.github.com/users/LionZXY/events{/privacy}","received_events_url":"https://api.github.com/users/LionZXY/received_events","type":"User","site_admin":false},"body":"`emptyList()`?","created_at":"2018-10-21T13:06:38Z","updated_at":"2018-10-21T13:12:07Z","html_url":"https://github.com/1PakMan1/Exercisetwo/pull/3#discussion_r226862326","pull_request_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/1PakMan1/Exercisetwo/pulls/comments/226862326"},"html":{"href":"https://github.com/1PakMan1/Exercisetwo/pull/3#discussion_r226862326"},"pull_request":{"href":"https://api.github.com/repos/1PakMan1/Exercisetwo/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/1PakMan1/Exercisetwo/pulls/3","id":224540057,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0NTQwMDU3","html_url":"https://github.com/1PakMan1/Exercisetwo/pull/3","diff_url":"https://github.com/1PakMan1/Exercisetwo/pull/3.diff","patch_url":"https://github.com/1PakMan1/Exercisetwo/pull/3.patch","issue_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/issues/3","number":3,"state":"open","locked":false,"title":"Asynchronous loading + progressbar","user":{"login":"1PakMan1","id":20050144,"node_id":"MDQ6VXNlcjIwMDUwMTQ0","avatar_url":"https://avatars2.githubusercontent.com/u/20050144?v=4","gravatar_id":"","url":"https://api.github.com/users/1PakMan1","html_url":"https://github.com/1PakMan1","followers_url":"https://api.github.com/users/1PakMan1/followers","following_url":"https://api.github.com/users/1PakMan1/following{/other_user}","gists_url":"https://api.github.com/users/1PakMan1/gists{/gist_id}","starred_url":"https://api.github.com/users/1PakMan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1PakMan1/subscriptions","organizations_url":"https://api.github.com/users/1PakMan1/orgs","repos_url":"https://api.github.com/users/1PakMan1/repos","events_url":"https://api.github.com/users/1PakMan1/events{/privacy}","received_events_url":"https://api.github.com/users/1PakMan1/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-21T13:04:58Z","updated_at":"2018-10-21T13:12:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44f808959dd6ea2a3e0c8a6e620e29cbda3ecb44","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/pulls/3/commits","review_comments_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/pulls/3/comments","review_comment_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/issues/3/comments","statuses_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/statuses/1d42c4f360d6e3634f1744ea6b4aabf27e1728a2","head":{"label":"1PakMan1:ex_4","ref":"ex_4","sha":"1d42c4f360d6e3634f1744ea6b4aabf27e1728a2","user":{"login":"1PakMan1","id":20050144,"node_id":"MDQ6VXNlcjIwMDUwMTQ0","avatar_url":"https://avatars2.githubusercontent.com/u/20050144?v=4","gravatar_id":"","url":"https://api.github.com/users/1PakMan1","html_url":"https://github.com/1PakMan1","followers_url":"https://api.github.com/users/1PakMan1/followers","following_url":"https://api.github.com/users/1PakMan1/following{/other_user}","gists_url":"https://api.github.com/users/1PakMan1/gists{/gist_id}","starred_url":"https://api.github.com/users/1PakMan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1PakMan1/subscriptions","organizations_url":"https://api.github.com/users/1PakMan1/orgs","repos_url":"https://api.github.com/users/1PakMan1/repos","events_url":"https://api.github.com/users/1PakMan1/events{/privacy}","received_events_url":"https://api.github.com/users/1PakMan1/received_events","type":"User","site_admin":false},"repo":{"id":150451060,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA0NTEwNjA=","name":"Exercisetwo","full_name":"1PakMan1/Exercisetwo","private":false,"owner":{"login":"1PakMan1","id":20050144,"node_id":"MDQ6VXNlcjIwMDUwMTQ0","avatar_url":"https://avatars2.githubusercontent.com/u/20050144?v=4","gravatar_id":"","url":"https://api.github.com/users/1PakMan1","html_url":"https://github.com/1PakMan1","followers_url":"https://api.github.com/users/1PakMan1/followers","following_url":"https://api.github.com/users/1PakMan1/following{/other_user}","gists_url":"https://api.github.com/users/1PakMan1/gists{/gist_id}","starred_url":"https://api.github.com/users/1PakMan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1PakMan1/subscriptions","organizations_url":"https://api.github.com/users/1PakMan1/orgs","repos_url":"https://api.github.com/users/1PakMan1/repos","events_url":"https://api.github.com/users/1PakMan1/events{/privacy}","received_events_url":"https://api.github.com/users/1PakMan1/received_events","type":"User","site_admin":false},"html_url":"https://github.com/1PakMan1/Exercisetwo","description":"Initial","fork":false,"url":"https://api.github.com/repos/1PakMan1/Exercisetwo","forks_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/forks","keys_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/teams","hooks_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/hooks","issue_events_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/issues/events{/number}","events_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/events","assignees_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/assignees{/user}","branches_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/branches{/branch}","tags_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/tags","blobs_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/git/refs{/sha}","trees_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/statuses/{sha}","languages_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/languages","stargazers_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/stargazers","contributors_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/contributors","subscribers_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/subscribers","subscription_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/subscription","commits_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/commits{/sha}","git_commits_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/git/commits{/sha}","comments_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/comments{/number}","issue_comment_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/issues/comments{/number}","contents_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/contents/{+path}","compare_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/merges","archive_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/downloads","issues_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/issues{/number}","pulls_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/pulls{/number}","milestones_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/milestones{/number}","notifications_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/labels{/name}","releases_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/releases{/id}","deployments_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/deployments","created_at":"2018-09-26T15:45:04Z","updated_at":"2018-10-11T15:57:13Z","pushed_at":"2018-10-21T13:04:59Z","git_url":"git://github.com/1PakMan1/Exercisetwo.git","ssh_url":"git@github.com:1PakMan1/Exercisetwo.git","clone_url":"https://github.com/1PakMan1/Exercisetwo.git","svn_url":"https://github.com/1PakMan1/Exercisetwo","homepage":null,"size":1368,"stargazers_count":0,"watchers_count":0,"language":"Java","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"1PakMan1:master","ref":"master","sha":"1b256d836ebcfa5d0d1517dcd31a750f90c73048","user":{"login":"1PakMan1","id":20050144,"node_id":"MDQ6VXNlcjIwMDUwMTQ0","avatar_url":"https://avatars2.githubusercontent.com/u/20050144?v=4","gravatar_id":"","url":"https://api.github.com/users/1PakMan1","html_url":"https://github.com/1PakMan1","followers_url":"https://api.github.com/users/1PakMan1/followers","following_url":"https://api.github.com/users/1PakMan1/following{/other_user}","gists_url":"https://api.github.com/users/1PakMan1/gists{/gist_id}","starred_url":"https://api.github.com/users/1PakMan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1PakMan1/subscriptions","organizations_url":"https://api.github.com/users/1PakMan1/orgs","repos_url":"https://api.github.com/users/1PakMan1/repos","events_url":"https://api.github.com/users/1PakMan1/events{/privacy}","received_events_url":"https://api.github.com/users/1PakMan1/received_events","type":"User","site_admin":false},"repo":{"id":150451060,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA0NTEwNjA=","name":"Exercisetwo","full_name":"1PakMan1/Exercisetwo","private":false,"owner":{"login":"1PakMan1","id":20050144,"node_id":"MDQ6VXNlcjIwMDUwMTQ0","avatar_url":"https://avatars2.githubusercontent.com/u/20050144?v=4","gravatar_id":"","url":"https://api.github.com/users/1PakMan1","html_url":"https://github.com/1PakMan1","followers_url":"https://api.github.com/users/1PakMan1/followers","following_url":"https://api.github.com/users/1PakMan1/following{/other_user}","gists_url":"https://api.github.com/users/1PakMan1/gists{/gist_id}","starred_url":"https://api.github.com/users/1PakMan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1PakMan1/subscriptions","organizations_url":"https://api.github.com/users/1PakMan1/orgs","repos_url":"https://api.github.com/users/1PakMan1/repos","events_url":"https://api.github.com/users/1PakMan1/events{/privacy}","received_events_url":"https://api.github.com/users/1PakMan1/received_events","type":"User","site_admin":false},"html_url":"https://github.com/1PakMan1/Exercisetwo","description":"Initial","fork":false,"url":"https://api.github.com/repos/1PakMan1/Exercisetwo","forks_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/forks","keys_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/teams","hooks_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/hooks","issue_events_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/issues/events{/number}","events_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/events","assignees_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/assignees{/user}","branches_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/branches{/branch}","tags_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/tags","blobs_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/git/refs{/sha}","trees_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/statuses/{sha}","languages_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/languages","stargazers_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/stargazers","contributors_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/contributors","subscribers_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/subscribers","subscription_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/subscription","commits_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/commits{/sha}","git_commits_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/git/commits{/sha}","comments_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/comments{/number}","issue_comment_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/issues/comments{/number}","contents_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/contents/{+path}","compare_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/merges","archive_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/downloads","issues_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/issues{/number}","pulls_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/pulls{/number}","milestones_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/milestones{/number}","notifications_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/labels{/name}","releases_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/releases{/id}","deployments_url":"https://api.github.com/repos/1PakMan1/Exercisetwo/deployments","created_at":"2018-09-26T15:45:04Z","updated_at":"2018-10-11T15:57:13Z","pushed_at":"2018-10-21T13:04:59Z","git_url":"git://github.com/1PakMan1/Exercisetwo.git","ssh_url":"git@github.com:1PakMan1/Exercisetwo.git","clone_url":"https://github.com/1PakMan1/Exercisetwo.git","svn_url":"https://github.com/1PakMan1/Exercisetwo","homepage":null,"size":1368,"stargazers_count":0,"watchers_count":0,"language":"Java","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/1PakMan1/Exercisetwo/pulls/3"},"html":{"href":"https://github.com/1PakMan1/Exercisetwo/pull/3"},"issue":{"href":"https://api.github.com/repos/1PakMan1/Exercisetwo/issues/3"},"comments":{"href":"https://api.github.com/repos/1PakMan1/Exercisetwo/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/1PakMan1/Exercisetwo/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/1PakMan1/Exercisetwo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/1PakMan1/Exercisetwo/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/1PakMan1/Exercisetwo/statuses/1d42c4f360d6e3634f1744ea6b4aabf27e1728a2"}},"author_association":"OWNER"}}
{"actor":{"display_login":"LionZXY"}}