{"action":"created","comment":{"url":"https://api.github.com/repos/RxKotlin/Pocket/pulls/comments/51485803","id":51485803,"diff_hunk":"@@ -0,0 +1,24 @@\n+package com.kotlinchina.smallpockets\n+\n+import android.app.Application\n+import io.realm.Realm\n+import io.realm.RealmConfiguration\n+\n+/**\n+ * Created by Lewis on 2016/2/1.\n+ */\n+\n+class PocketApplication : Application() {","path":"app/src/main/java/com/kotlinchina/smallpockets/PocketApplication.kt","position":11,"original_position":11,"commit_id":"603e8f36c28c04251b7a5709defc643d82dbed04","original_commit_id":"603e8f36c28c04251b7a5709defc643d82dbed04","user":{"login":"itrufeng","id":685975,"avatar_url":"https://avatars.githubusercontent.com/u/685975?v=3","gravatar_id":"","url":"https://api.github.com/users/itrufeng","html_url":"https://github.com/itrufeng","followers_url":"https://api.github.com/users/itrufeng/followers","following_url":"https://api.github.com/users/itrufeng/following{/other_user}","gists_url":"https://api.github.com/users/itrufeng/gists{/gist_id}","starred_url":"https://api.github.com/users/itrufeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itrufeng/subscriptions","organizations_url":"https://api.github.com/users/itrufeng/orgs","repos_url":"https://api.github.com/users/itrufeng/repos","events_url":"https://api.github.com/users/itrufeng/events{/privacy}","received_events_url":"https://api.github.com/users/itrufeng/received_events","type":"User","site_admin":false},"body":"干得漂亮。\r\n终于有一个生命周期长的对象了。","created_at":"2016-02-01T21:45:24Z","updated_at":"2016-02-01T21:45:24Z","html_url":"https://github.com/RxKotlin/Pocket/pull/11#discussion_r51485803","pull_request_url":"https://api.github.com/repos/RxKotlin/Pocket/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/RxKotlin/Pocket/pulls/comments/51485803"},"html":{"href":"https://github.com/RxKotlin/Pocket/pull/11#discussion_r51485803"},"pull_request":{"href":"https://api.github.com/repos/RxKotlin/Pocket/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/RxKotlin/Pocket/pulls/11","id":57808098,"html_url":"https://github.com/RxKotlin/Pocket/pull/11","diff_url":"https://github.com/RxKotlin/Pocket/pull/11.diff","patch_url":"https://github.com/RxKotlin/Pocket/pull/11.patch","issue_url":"https://api.github.com/repos/RxKotlin/Pocket/issues/11","number":11,"state":"open","locked":false,"title":"lewis","user":{"login":"lwj704684897","id":5118566,"avatar_url":"https://avatars.githubusercontent.com/u/5118566?v=3","gravatar_id":"","url":"https://api.github.com/users/lwj704684897","html_url":"https://github.com/lwj704684897","followers_url":"https://api.github.com/users/lwj704684897/followers","following_url":"https://api.github.com/users/lwj704684897/following{/other_user}","gists_url":"https://api.github.com/users/lwj704684897/gists{/gist_id}","starred_url":"https://api.github.com/users/lwj704684897/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwj704684897/subscriptions","organizations_url":"https://api.github.com/users/lwj704684897/orgs","repos_url":"https://api.github.com/users/lwj704684897/repos","events_url":"https://api.github.com/users/lwj704684897/events{/privacy}","received_events_url":"https://api.github.com/users/lwj704684897/received_events","type":"User","site_admin":false},"body":"1.从数据库读取数据并展示\n2.保存链接后，自动刷新页面","created_at":"2016-02-01T08:14:14Z","updated_at":"2016-02-01T21:45:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd7396db08b135e3ba794cafe3a47bf59918d95d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RxKotlin/Pocket/pulls/11/commits","review_comments_url":"https://api.github.com/repos/RxKotlin/Pocket/pulls/11/comments","review_comment_url":"https://api.github.com/repos/RxKotlin/Pocket/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RxKotlin/Pocket/issues/11/comments","statuses_url":"https://api.github.com/repos/RxKotlin/Pocket/statuses/603e8f36c28c04251b7a5709defc643d82dbed04","head":{"label":"RxKotlin:lewis","ref":"lewis","sha":"603e8f36c28c04251b7a5709defc643d82dbed04","user":{"login":"RxKotlin","id":16135858,"avatar_url":"https://avatars.githubusercontent.com/u/16135858?v=3","gravatar_id":"","url":"https://api.github.com/users/RxKotlin","html_url":"https://github.com/RxKotlin","followers_url":"https://api.github.com/users/RxKotlin/followers","following_url":"https://api.github.com/users/RxKotlin/following{/other_user}","gists_url":"https://api.github.com/users/RxKotlin/gists{/gist_id}","starred_url":"https://api.github.com/users/RxKotlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RxKotlin/subscriptions","organizations_url":"https://api.github.com/users/RxKotlin/orgs","repos_url":"https://api.github.com/users/RxKotlin/repos","events_url":"https://api.github.com/users/RxKotlin/events{/privacy}","received_events_url":"https://api.github.com/users/RxKotlin/received_events","type":"Organization","site_admin":false},"repo":{"id":48750452,"name":"Pocket","full_name":"RxKotlin/Pocket","owner":{"login":"RxKotlin","id":16135858,"avatar_url":"https://avatars.githubusercontent.com/u/16135858?v=3","gravatar_id":"","url":"https://api.github.com/users/RxKotlin","html_url":"https://github.com/RxKotlin","followers_url":"https://api.github.com/users/RxKotlin/followers","following_url":"https://api.github.com/users/RxKotlin/following{/other_user}","gists_url":"https://api.github.com/users/RxKotlin/gists{/gist_id}","starred_url":"https://api.github.com/users/RxKotlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RxKotlin/subscriptions","organizations_url":"https://api.github.com/users/RxKotlin/orgs","repos_url":"https://api.github.com/users/RxKotlin/repos","events_url":"https://api.github.com/users/RxKotlin/events{/privacy}","received_events_url":"https://api.github.com/users/RxKotlin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RxKotlin/Pocket","description":"This is a first kotlin project","fork":false,"url":"https://api.github.com/repos/RxKotlin/Pocket","forks_url":"https://api.github.com/repos/RxKotlin/Pocket/forks","keys_url":"https://api.github.com/repos/RxKotlin/Pocket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RxKotlin/Pocket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RxKotlin/Pocket/teams","hooks_url":"https://api.github.com/repos/RxKotlin/Pocket/hooks","issue_events_url":"https://api.github.com/repos/RxKotlin/Pocket/issues/events{/number}","events_url":"https://api.github.com/repos/RxKotlin/Pocket/events","assignees_url":"https://api.github.com/repos/RxKotlin/Pocket/assignees{/user}","branches_url":"https://api.github.com/repos/RxKotlin/Pocket/branches{/branch}","tags_url":"https://api.github.com/repos/RxKotlin/Pocket/tags","blobs_url":"https://api.github.com/repos/RxKotlin/Pocket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RxKotlin/Pocket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RxKotlin/Pocket/git/refs{/sha}","trees_url":"https://api.github.com/repos/RxKotlin/Pocket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RxKotlin/Pocket/statuses/{sha}","languages_url":"https://api.github.com/repos/RxKotlin/Pocket/languages","stargazers_url":"https://api.github.com/repos/RxKotlin/Pocket/stargazers","contributors_url":"https://api.github.com/repos/RxKotlin/Pocket/contributors","subscribers_url":"https://api.github.com/repos/RxKotlin/Pocket/subscribers","subscription_url":"https://api.github.com/repos/RxKotlin/Pocket/subscription","commits_url":"https://api.github.com/repos/RxKotlin/Pocket/commits{/sha}","git_commits_url":"https://api.github.com/repos/RxKotlin/Pocket/git/commits{/sha}","comments_url":"https://api.github.com/repos/RxKotlin/Pocket/comments{/number}","issue_comment_url":"https://api.github.com/repos/RxKotlin/Pocket/issues/comments{/number}","contents_url":"https://api.github.com/repos/RxKotlin/Pocket/contents/{+path}","compare_url":"https://api.github.com/repos/RxKotlin/Pocket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RxKotlin/Pocket/merges","archive_url":"https://api.github.com/repos/RxKotlin/Pocket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RxKotlin/Pocket/downloads","issues_url":"https://api.github.com/repos/RxKotlin/Pocket/issues{/number}","pulls_url":"https://api.github.com/repos/RxKotlin/Pocket/pulls{/number}","milestones_url":"https://api.github.com/repos/RxKotlin/Pocket/milestones{/number}","notifications_url":"https://api.github.com/repos/RxKotlin/Pocket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RxKotlin/Pocket/labels{/name}","releases_url":"https://api.github.com/repos/RxKotlin/Pocket/releases{/id}","deployments_url":"https://api.github.com/repos/RxKotlin/Pocket/deployments","created_at":"2015-12-29T14:11:41Z","updated_at":"2016-01-31T12:23:22Z","pushed_at":"2016-02-01T08:14:14Z","git_url":"git://github.com/RxKotlin/Pocket.git","ssh_url":"git@github.com:RxKotlin/Pocket.git","clone_url":"https://github.com/RxKotlin/Pocket.git","svn_url":"https://github.com/RxKotlin/Pocket","homepage":"","size":154,"stargazers_count":3,"watchers_count":3,"language":"Kotlin","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"RxKotlin:master","ref":"master","sha":"29b83aacfc7b4ae558f00b61db77af0e4cb05add","user":{"login":"RxKotlin","id":16135858,"avatar_url":"https://avatars.githubusercontent.com/u/16135858?v=3","gravatar_id":"","url":"https://api.github.com/users/RxKotlin","html_url":"https://github.com/RxKotlin","followers_url":"https://api.github.com/users/RxKotlin/followers","following_url":"https://api.github.com/users/RxKotlin/following{/other_user}","gists_url":"https://api.github.com/users/RxKotlin/gists{/gist_id}","starred_url":"https://api.github.com/users/RxKotlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RxKotlin/subscriptions","organizations_url":"https://api.github.com/users/RxKotlin/orgs","repos_url":"https://api.github.com/users/RxKotlin/repos","events_url":"https://api.github.com/users/RxKotlin/events{/privacy}","received_events_url":"https://api.github.com/users/RxKotlin/received_events","type":"Organization","site_admin":false},"repo":{"id":48750452,"name":"Pocket","full_name":"RxKotlin/Pocket","owner":{"login":"RxKotlin","id":16135858,"avatar_url":"https://avatars.githubusercontent.com/u/16135858?v=3","gravatar_id":"","url":"https://api.github.com/users/RxKotlin","html_url":"https://github.com/RxKotlin","followers_url":"https://api.github.com/users/RxKotlin/followers","following_url":"https://api.github.com/users/RxKotlin/following{/other_user}","gists_url":"https://api.github.com/users/RxKotlin/gists{/gist_id}","starred_url":"https://api.github.com/users/RxKotlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RxKotlin/subscriptions","organizations_url":"https://api.github.com/users/RxKotlin/orgs","repos_url":"https://api.github.com/users/RxKotlin/repos","events_url":"https://api.github.com/users/RxKotlin/events{/privacy}","received_events_url":"https://api.github.com/users/RxKotlin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RxKotlin/Pocket","description":"This is a first kotlin project","fork":false,"url":"https://api.github.com/repos/RxKotlin/Pocket","forks_url":"https://api.github.com/repos/RxKotlin/Pocket/forks","keys_url":"https://api.github.com/repos/RxKotlin/Pocket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RxKotlin/Pocket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RxKotlin/Pocket/teams","hooks_url":"https://api.github.com/repos/RxKotlin/Pocket/hooks","issue_events_url":"https://api.github.com/repos/RxKotlin/Pocket/issues/events{/number}","events_url":"https://api.github.com/repos/RxKotlin/Pocket/events","assignees_url":"https://api.github.com/repos/RxKotlin/Pocket/assignees{/user}","branches_url":"https://api.github.com/repos/RxKotlin/Pocket/branches{/branch}","tags_url":"https://api.github.com/repos/RxKotlin/Pocket/tags","blobs_url":"https://api.github.com/repos/RxKotlin/Pocket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RxKotlin/Pocket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RxKotlin/Pocket/git/refs{/sha}","trees_url":"https://api.github.com/repos/RxKotlin/Pocket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RxKotlin/Pocket/statuses/{sha}","languages_url":"https://api.github.com/repos/RxKotlin/Pocket/languages","stargazers_url":"https://api.github.com/repos/RxKotlin/Pocket/stargazers","contributors_url":"https://api.github.com/repos/RxKotlin/Pocket/contributors","subscribers_url":"https://api.github.com/repos/RxKotlin/Pocket/subscribers","subscription_url":"https://api.github.com/repos/RxKotlin/Pocket/subscription","commits_url":"https://api.github.com/repos/RxKotlin/Pocket/commits{/sha}","git_commits_url":"https://api.github.com/repos/RxKotlin/Pocket/git/commits{/sha}","comments_url":"https://api.github.com/repos/RxKotlin/Pocket/comments{/number}","issue_comment_url":"https://api.github.com/repos/RxKotlin/Pocket/issues/comments{/number}","contents_url":"https://api.github.com/repos/RxKotlin/Pocket/contents/{+path}","compare_url":"https://api.github.com/repos/RxKotlin/Pocket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RxKotlin/Pocket/merges","archive_url":"https://api.github.com/repos/RxKotlin/Pocket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RxKotlin/Pocket/downloads","issues_url":"https://api.github.com/repos/RxKotlin/Pocket/issues{/number}","pulls_url":"https://api.github.com/repos/RxKotlin/Pocket/pulls{/number}","milestones_url":"https://api.github.com/repos/RxKotlin/Pocket/milestones{/number}","notifications_url":"https://api.github.com/repos/RxKotlin/Pocket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RxKotlin/Pocket/labels{/name}","releases_url":"https://api.github.com/repos/RxKotlin/Pocket/releases{/id}","deployments_url":"https://api.github.com/repos/RxKotlin/Pocket/deployments","created_at":"2015-12-29T14:11:41Z","updated_at":"2016-01-31T12:23:22Z","pushed_at":"2016-02-01T08:14:14Z","git_url":"git://github.com/RxKotlin/Pocket.git","ssh_url":"git@github.com:RxKotlin/Pocket.git","clone_url":"https://github.com/RxKotlin/Pocket.git","svn_url":"https://github.com/RxKotlin/Pocket","homepage":"","size":154,"stargazers_count":3,"watchers_count":3,"language":"Kotlin","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RxKotlin/Pocket/pulls/11"},"html":{"href":"https://github.com/RxKotlin/Pocket/pull/11"},"issue":{"href":"https://api.github.com/repos/RxKotlin/Pocket/issues/11"},"comments":{"href":"https://api.github.com/repos/RxKotlin/Pocket/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/RxKotlin/Pocket/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/RxKotlin/Pocket/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RxKotlin/Pocket/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/RxKotlin/Pocket/statuses/603e8f36c28c04251b7a5709defc643d82dbed04"}}}}