{"action":"created","comment":{"url":"https://api.github.com/repos/JSpiner/epub-viewer/pulls/comments/222611499","pull_request_review_id":161538361,"id":222611499,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjYxMTQ5OQ==","diff_hunk":"@@ -87,10 +87,15 @@ class ReaderViewModel : BaseViewModel() {\n \n     fun setPageInfo(pageInfo: PageInfo) {\n         this.pageInfo = pageInfo\n-        pageSubject.onNext(1)\n+        pageSubject.onNext(0 to false)\n     }\n \n     fun getPageInfo() = pageInfo\n \n-    fun getCurrentPage(): Observable<Int> = pageSubject\n+    fun getCurrentPage(): Observable<Pair<Int, Boolean>> = pageSubject","path":"app/src/main/java/net/jspiner/epub_viewer/ui/reader/ReaderViewModel.kt","position":20,"original_position":20,"commit_id":"093c9c787b9a50157a06ee0cb52bd933b4bd500e","original_commit_id":"093c9c787b9a50157a06ee0cb52bd933b4bd500e","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [UndocumentedPublicFunction - [getCurrentPage] at /src/app/src/main/java/net/jspiner/epub_viewer/ui/reader/ReaderViewModel.kt:95:5](https://app.codacy.com/app/jspiner/epub-viewer/pullRequest?prid=2299655)","created_at":"2018-10-04T10:13:46Z","updated_at":"2018-10-04T10:13:46Z","html_url":"https://github.com/JSpiner/epub-viewer/pull/3#discussion_r222611499","pull_request_url":"https://api.github.com/repos/JSpiner/epub-viewer/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/JSpiner/epub-viewer/pulls/comments/222611499"},"html":{"href":"https://github.com/JSpiner/epub-viewer/pull/3#discussion_r222611499"},"pull_request":{"href":"https://api.github.com/repos/JSpiner/epub-viewer/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/JSpiner/epub-viewer/pulls/3","id":220291919,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwMjkxOTE5","html_url":"https://github.com/JSpiner/epub-viewer/pull/3","diff_url":"https://github.com/JSpiner/epub-viewer/pull/3.diff","patch_url":"https://github.com/JSpiner/epub-viewer/pull/3.patch","issue_url":"https://api.github.com/repos/JSpiner/epub-viewer/issues/3","number":3,"state":"open","locked":false,"title":"seekBar를 통해 페이지 변경 가능 기능 구현","user":{"login":"JSpiner","id":5474864,"node_id":"MDQ6VXNlcjU0NzQ4NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5474864?v=4","gravatar_id":"","url":"https://api.github.com/users/JSpiner","html_url":"https://github.com/JSpiner","followers_url":"https://api.github.com/users/JSpiner/followers","following_url":"https://api.github.com/users/JSpiner/following{/other_user}","gists_url":"https://api.github.com/users/JSpiner/gists{/gist_id}","starred_url":"https://api.github.com/users/JSpiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSpiner/subscriptions","organizations_url":"https://api.github.com/users/JSpiner/orgs","repos_url":"https://api.github.com/users/JSpiner/repos","events_url":"https://api.github.com/users/JSpiner/events{/privacy}","received_events_url":"https://api.github.com/users/JSpiner/received_events","type":"User","site_admin":false},"body":"## 개요\r\n- seekBar를 통해서 페이지 변경이 가능하고, 변경된 페이지가 toolbox에 표시되는 기능 구현\r\n\r\n## 작업내용\r\n- seekBar가 변할경우 해당 페이지 계산후 로드\r\n- 스크롤 / spine 전환 이벤트가 발생할경우 페이지 계산후 표시\r\n\r\n## 기타\r\n- #2 와 동일한 내용이나 codacy 오류로 인해 새로운 PR로 작업","created_at":"2018-10-04T08:35:11Z","updated_at":"2018-10-04T10:13:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b75b4dcbecc398463641416cbd639dca8dead9d","assignee":{"login":"JSpiner","id":5474864,"node_id":"MDQ6VXNlcjU0NzQ4NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5474864?v=4","gravatar_id":"","url":"https://api.github.com/users/JSpiner","html_url":"https://github.com/JSpiner","followers_url":"https://api.github.com/users/JSpiner/followers","following_url":"https://api.github.com/users/JSpiner/following{/other_user}","gists_url":"https://api.github.com/users/JSpiner/gists{/gist_id}","starred_url":"https://api.github.com/users/JSpiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSpiner/subscriptions","organizations_url":"https://api.github.com/users/JSpiner/orgs","repos_url":"https://api.github.com/users/JSpiner/repos","events_url":"https://api.github.com/users/JSpiner/events{/privacy}","received_events_url":"https://api.github.com/users/JSpiner/received_events","type":"User","site_admin":false},"assignees":[{"login":"JSpiner","id":5474864,"node_id":"MDQ6VXNlcjU0NzQ4NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5474864?v=4","gravatar_id":"","url":"https://api.github.com/users/JSpiner","html_url":"https://github.com/JSpiner","followers_url":"https://api.github.com/users/JSpiner/followers","following_url":"https://api.github.com/users/JSpiner/following{/other_user}","gists_url":"https://api.github.com/users/JSpiner/gists{/gist_id}","starred_url":"https://api.github.com/users/JSpiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSpiner/subscriptions","organizations_url":"https://api.github.com/users/JSpiner/orgs","repos_url":"https://api.github.com/users/JSpiner/repos","events_url":"https://api.github.com/users/JSpiner/events{/privacy}","received_events_url":"https://api.github.com/users/JSpiner/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/JSpiner/epub-viewer/pulls/3/commits","review_comments_url":"https://api.github.com/repos/JSpiner/epub-viewer/pulls/3/comments","review_comment_url":"https://api.github.com/repos/JSpiner/epub-viewer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JSpiner/epub-viewer/issues/3/comments","statuses_url":"https://api.github.com/repos/JSpiner/epub-viewer/statuses/093c9c787b9a50157a06ee0cb52bd933b4bd500e","head":{"label":"JSpiner:feature/seek-bar-navigation","ref":"feature/seek-bar-navigation","sha":"093c9c787b9a50157a06ee0cb52bd933b4bd500e","user":{"login":"JSpiner","id":5474864,"node_id":"MDQ6VXNlcjU0NzQ4NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5474864?v=4","gravatar_id":"","url":"https://api.github.com/users/JSpiner","html_url":"https://github.com/JSpiner","followers_url":"https://api.github.com/users/JSpiner/followers","following_url":"https://api.github.com/users/JSpiner/following{/other_user}","gists_url":"https://api.github.com/users/JSpiner/gists{/gist_id}","starred_url":"https://api.github.com/users/JSpiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSpiner/subscriptions","organizations_url":"https://api.github.com/users/JSpiner/orgs","repos_url":"https://api.github.com/users/JSpiner/repos","events_url":"https://api.github.com/users/JSpiner/events{/privacy}","received_events_url":"https://api.github.com/users/JSpiner/received_events","type":"User","site_admin":false},"repo":{"id":148756051,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg3NTYwNTE=","name":"epub-viewer","full_name":"JSpiner/epub-viewer","private":false,"owner":{"login":"JSpiner","id":5474864,"node_id":"MDQ6VXNlcjU0NzQ4NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5474864?v=4","gravatar_id":"","url":"https://api.github.com/users/JSpiner","html_url":"https://github.com/JSpiner","followers_url":"https://api.github.com/users/JSpiner/followers","following_url":"https://api.github.com/users/JSpiner/following{/other_user}","gists_url":"https://api.github.com/users/JSpiner/gists{/gist_id}","starred_url":"https://api.github.com/users/JSpiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSpiner/subscriptions","organizations_url":"https://api.github.com/users/JSpiner/orgs","repos_url":"https://api.github.com/users/JSpiner/repos","events_url":"https://api.github.com/users/JSpiner/events{/privacy}","received_events_url":"https://api.github.com/users/JSpiner/received_events","type":"User","site_admin":false},"html_url":"https://github.com/JSpiner/epub-viewer","description":"android epub viewer","fork":false,"url":"https://api.github.com/repos/JSpiner/epub-viewer","forks_url":"https://api.github.com/repos/JSpiner/epub-viewer/forks","keys_url":"https://api.github.com/repos/JSpiner/epub-viewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JSpiner/epub-viewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JSpiner/epub-viewer/teams","hooks_url":"https://api.github.com/repos/JSpiner/epub-viewer/hooks","issue_events_url":"https://api.github.com/repos/JSpiner/epub-viewer/issues/events{/number}","events_url":"https://api.github.com/repos/JSpiner/epub-viewer/events","assignees_url":"https://api.github.com/repos/JSpiner/epub-viewer/assignees{/user}","branches_url":"https://api.github.com/repos/JSpiner/epub-viewer/branches{/branch}","tags_url":"https://api.github.com/repos/JSpiner/epub-viewer/tags","blobs_url":"https://api.github.com/repos/JSpiner/epub-viewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JSpiner/epub-viewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JSpiner/epub-viewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/JSpiner/epub-viewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JSpiner/epub-viewer/statuses/{sha}","languages_url":"https://api.github.com/repos/JSpiner/epub-viewer/languages","stargazers_url":"https://api.github.com/repos/JSpiner/epub-viewer/stargazers","contributors_url":"https://api.github.com/repos/JSpiner/epub-viewer/contributors","subscribers_url":"https://api.github.com/repos/JSpiner/epub-viewer/subscribers","subscription_url":"https://api.github.com/repos/JSpiner/epub-viewer/subscription","commits_url":"https://api.github.com/repos/JSpiner/epub-viewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/JSpiner/epub-viewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/JSpiner/epub-viewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/JSpiner/epub-viewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/JSpiner/epub-viewer/contents/{+path}","compare_url":"https://api.github.com/repos/JSpiner/epub-viewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JSpiner/epub-viewer/merges","archive_url":"https://api.github.com/repos/JSpiner/epub-viewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JSpiner/epub-viewer/downloads","issues_url":"https://api.github.com/repos/JSpiner/epub-viewer/issues{/number}","pulls_url":"https://api.github.com/repos/JSpiner/epub-viewer/pulls{/number}","milestones_url":"https://api.github.com/repos/JSpiner/epub-viewer/milestones{/number}","notifications_url":"https://api.github.com/repos/JSpiner/epub-viewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JSpiner/epub-viewer/labels{/name}","releases_url":"https://api.github.com/repos/JSpiner/epub-viewer/releases{/id}","deployments_url":"https://api.github.com/repos/JSpiner/epub-viewer/deployments","created_at":"2018-09-14T08:01:57Z","updated_at":"2018-10-04T08:53:55Z","pushed_at":"2018-10-04T08:52:05Z","git_url":"git://github.com/JSpiner/epub-viewer.git","ssh_url":"git@github.com:JSpiner/epub-viewer.git","clone_url":"https://github.com/JSpiner/epub-viewer.git","svn_url":"https://github.com/JSpiner/epub-viewer","homepage":"","size":428,"stargazers_count":1,"watchers_count":1,"language":"Kotlin","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"JSpiner:master","ref":"master","sha":"da4b6317fad6d086b89e7d410757a065d9751f0f","user":{"login":"JSpiner","id":5474864,"node_id":"MDQ6VXNlcjU0NzQ4NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5474864?v=4","gravatar_id":"","url":"https://api.github.com/users/JSpiner","html_url":"https://github.com/JSpiner","followers_url":"https://api.github.com/users/JSpiner/followers","following_url":"https://api.github.com/users/JSpiner/following{/other_user}","gists_url":"https://api.github.com/users/JSpiner/gists{/gist_id}","starred_url":"https://api.github.com/users/JSpiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSpiner/subscriptions","organizations_url":"https://api.github.com/users/JSpiner/orgs","repos_url":"https://api.github.com/users/JSpiner/repos","events_url":"https://api.github.com/users/JSpiner/events{/privacy}","received_events_url":"https://api.github.com/users/JSpiner/received_events","type":"User","site_admin":false},"repo":{"id":148756051,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg3NTYwNTE=","name":"epub-viewer","full_name":"JSpiner/epub-viewer","private":false,"owner":{"login":"JSpiner","id":5474864,"node_id":"MDQ6VXNlcjU0NzQ4NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5474864?v=4","gravatar_id":"","url":"https://api.github.com/users/JSpiner","html_url":"https://github.com/JSpiner","followers_url":"https://api.github.com/users/JSpiner/followers","following_url":"https://api.github.com/users/JSpiner/following{/other_user}","gists_url":"https://api.github.com/users/JSpiner/gists{/gist_id}","starred_url":"https://api.github.com/users/JSpiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSpiner/subscriptions","organizations_url":"https://api.github.com/users/JSpiner/orgs","repos_url":"https://api.github.com/users/JSpiner/repos","events_url":"https://api.github.com/users/JSpiner/events{/privacy}","received_events_url":"https://api.github.com/users/JSpiner/received_events","type":"User","site_admin":false},"html_url":"https://github.com/JSpiner/epub-viewer","description":"android epub viewer","fork":false,"url":"https://api.github.com/repos/JSpiner/epub-viewer","forks_url":"https://api.github.com/repos/JSpiner/epub-viewer/forks","keys_url":"https://api.github.com/repos/JSpiner/epub-viewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JSpiner/epub-viewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JSpiner/epub-viewer/teams","hooks_url":"https://api.github.com/repos/JSpiner/epub-viewer/hooks","issue_events_url":"https://api.github.com/repos/JSpiner/epub-viewer/issues/events{/number}","events_url":"https://api.github.com/repos/JSpiner/epub-viewer/events","assignees_url":"https://api.github.com/repos/JSpiner/epub-viewer/assignees{/user}","branches_url":"https://api.github.com/repos/JSpiner/epub-viewer/branches{/branch}","tags_url":"https://api.github.com/repos/JSpiner/epub-viewer/tags","blobs_url":"https://api.github.com/repos/JSpiner/epub-viewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JSpiner/epub-viewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JSpiner/epub-viewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/JSpiner/epub-viewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JSpiner/epub-viewer/statuses/{sha}","languages_url":"https://api.github.com/repos/JSpiner/epub-viewer/languages","stargazers_url":"https://api.github.com/repos/JSpiner/epub-viewer/stargazers","contributors_url":"https://api.github.com/repos/JSpiner/epub-viewer/contributors","subscribers_url":"https://api.github.com/repos/JSpiner/epub-viewer/subscribers","subscription_url":"https://api.github.com/repos/JSpiner/epub-viewer/subscription","commits_url":"https://api.github.com/repos/JSpiner/epub-viewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/JSpiner/epub-viewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/JSpiner/epub-viewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/JSpiner/epub-viewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/JSpiner/epub-viewer/contents/{+path}","compare_url":"https://api.github.com/repos/JSpiner/epub-viewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JSpiner/epub-viewer/merges","archive_url":"https://api.github.com/repos/JSpiner/epub-viewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JSpiner/epub-viewer/downloads","issues_url":"https://api.github.com/repos/JSpiner/epub-viewer/issues{/number}","pulls_url":"https://api.github.com/repos/JSpiner/epub-viewer/pulls{/number}","milestones_url":"https://api.github.com/repos/JSpiner/epub-viewer/milestones{/number}","notifications_url":"https://api.github.com/repos/JSpiner/epub-viewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JSpiner/epub-viewer/labels{/name}","releases_url":"https://api.github.com/repos/JSpiner/epub-viewer/releases{/id}","deployments_url":"https://api.github.com/repos/JSpiner/epub-viewer/deployments","created_at":"2018-09-14T08:01:57Z","updated_at":"2018-10-04T08:53:55Z","pushed_at":"2018-10-04T08:52:05Z","git_url":"git://github.com/JSpiner/epub-viewer.git","ssh_url":"git@github.com:JSpiner/epub-viewer.git","clone_url":"https://github.com/JSpiner/epub-viewer.git","svn_url":"https://github.com/JSpiner/epub-viewer","homepage":"","size":428,"stargazers_count":1,"watchers_count":1,"language":"Kotlin","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JSpiner/epub-viewer/pulls/3"},"html":{"href":"https://github.com/JSpiner/epub-viewer/pull/3"},"issue":{"href":"https://api.github.com/repos/JSpiner/epub-viewer/issues/3"},"comments":{"href":"https://api.github.com/repos/JSpiner/epub-viewer/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/JSpiner/epub-viewer/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/JSpiner/epub-viewer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JSpiner/epub-viewer/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/JSpiner/epub-viewer/statuses/093c9c787b9a50157a06ee0cb52bd933b4bd500e"}},"author_association":"OWNER"}}
{"actor":{"display_login":"codacy-bot"}}