{"action":"opened","number":546,"pull_request":{"url":"https://api.github.com/repos/kiwix/kiwix-android/pulls/546","id":172419878,"html_url":"https://github.com/kiwix/kiwix-android/pull/546","diff_url":"https://github.com/kiwix/kiwix-android/pull/546.diff","patch_url":"https://github.com/kiwix/kiwix-android/pull/546.patch","issue_url":"https://api.github.com/repos/kiwix/kiwix-android/issues/546","number":546,"state":"open","locked":false,"title":"Saving time and resources when list reload in Library","user":{"login":"amerinoo","id":11027833,"avatar_url":"https://avatars1.githubusercontent.com/u/11027833?v=4","gravatar_id":"","url":"https://api.github.com/users/amerinoo","html_url":"https://github.com/amerinoo","followers_url":"https://api.github.com/users/amerinoo/followers","following_url":"https://api.github.com/users/amerinoo/following{/other_user}","gists_url":"https://api.github.com/users/amerinoo/gists{/gist_id}","starred_url":"https://api.github.com/users/amerinoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amerinoo/subscriptions","organizations_url":"https://api.github.com/users/amerinoo/orgs","repos_url":"https://api.github.com/users/amerinoo/repos","events_url":"https://api.github.com/users/amerinoo/events{/privacy}","received_events_url":"https://api.github.com/users/amerinoo/received_events","type":"User","site_admin":false},"body":"Fixes This is an improvement commented in #538 by @GeVic.\r\n\r\nChanges: Use Fragment methods onSaveInstanceState and onViewStateRestored to reload the books so now the app don't use Internet every time the user rotates the device and as you can see on the GIF the reload is quite faster.\r\n\r\nScreenshots/GIF for the change: [If possible, please add relevant screenshots/GIF]\r\n\r\n![](https://media.giphy.com/media/55tELYEheb1GAf4MgV/giphy.gif)\r\n","created_at":"2018-03-02T04:26:28Z","updated_at":"2018-03-02T04:26:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kiwix/kiwix-android/pulls/546/commits","review_comments_url":"https://api.github.com/repos/kiwix/kiwix-android/pulls/546/comments","review_comment_url":"https://api.github.com/repos/kiwix/kiwix-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kiwix/kiwix-android/issues/546/comments","statuses_url":"https://api.github.com/repos/kiwix/kiwix-android/statuses/e9de9aa15d15987f5082e7a0ab4ae96743735d3d","head":{"label":"amerinoo:new","ref":"new","sha":"e9de9aa15d15987f5082e7a0ab4ae96743735d3d","user":{"login":"amerinoo","id":11027833,"avatar_url":"https://avatars1.githubusercontent.com/u/11027833?v=4","gravatar_id":"","url":"https://api.github.com/users/amerinoo","html_url":"https://github.com/amerinoo","followers_url":"https://api.github.com/users/amerinoo/followers","following_url":"https://api.github.com/users/amerinoo/following{/other_user}","gists_url":"https://api.github.com/users/amerinoo/gists{/gist_id}","starred_url":"https://api.github.com/users/amerinoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amerinoo/subscriptions","organizations_url":"https://api.github.com/users/amerinoo/orgs","repos_url":"https://api.github.com/users/amerinoo/repos","events_url":"https://api.github.com/users/amerinoo/events{/privacy}","received_events_url":"https://api.github.com/users/amerinoo/received_events","type":"User","site_admin":false},"repo":{"id":123499491,"name":"kiwix-android","full_name":"amerinoo/kiwix-android","owner":{"login":"amerinoo","id":11027833,"avatar_url":"https://avatars1.githubusercontent.com/u/11027833?v=4","gravatar_id":"","url":"https://api.github.com/users/amerinoo","html_url":"https://github.com/amerinoo","followers_url":"https://api.github.com/users/amerinoo/followers","following_url":"https://api.github.com/users/amerinoo/following{/other_user}","gists_url":"https://api.github.com/users/amerinoo/gists{/gist_id}","starred_url":"https://api.github.com/users/amerinoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amerinoo/subscriptions","organizations_url":"https://api.github.com/users/amerinoo/orgs","repos_url":"https://api.github.com/users/amerinoo/repos","events_url":"https://api.github.com/users/amerinoo/events{/privacy}","received_events_url":"https://api.github.com/users/amerinoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amerinoo/kiwix-android","description":"Kiwix port for offline on Android","fork":true,"url":"https://api.github.com/repos/amerinoo/kiwix-android","forks_url":"https://api.github.com/repos/amerinoo/kiwix-android/forks","keys_url":"https://api.github.com/repos/amerinoo/kiwix-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amerinoo/kiwix-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amerinoo/kiwix-android/teams","hooks_url":"https://api.github.com/repos/amerinoo/kiwix-android/hooks","issue_events_url":"https://api.github.com/repos/amerinoo/kiwix-android/issues/events{/number}","events_url":"https://api.github.com/repos/amerinoo/kiwix-android/events","assignees_url":"https://api.github.com/repos/amerinoo/kiwix-android/assignees{/user}","branches_url":"https://api.github.com/repos/amerinoo/kiwix-android/branches{/branch}","tags_url":"https://api.github.com/repos/amerinoo/kiwix-android/tags","blobs_url":"https://api.github.com/repos/amerinoo/kiwix-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amerinoo/kiwix-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amerinoo/kiwix-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/amerinoo/kiwix-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amerinoo/kiwix-android/statuses/{sha}","languages_url":"https://api.github.com/repos/amerinoo/kiwix-android/languages","stargazers_url":"https://api.github.com/repos/amerinoo/kiwix-android/stargazers","contributors_url":"https://api.github.com/repos/amerinoo/kiwix-android/contributors","subscribers_url":"https://api.github.com/repos/amerinoo/kiwix-android/subscribers","subscription_url":"https://api.github.com/repos/amerinoo/kiwix-android/subscription","commits_url":"https://api.github.com/repos/amerinoo/kiwix-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/amerinoo/kiwix-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/amerinoo/kiwix-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/amerinoo/kiwix-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/amerinoo/kiwix-android/contents/{+path}","compare_url":"https://api.github.com/repos/amerinoo/kiwix-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amerinoo/kiwix-android/merges","archive_url":"https://api.github.com/repos/amerinoo/kiwix-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amerinoo/kiwix-android/downloads","issues_url":"https://api.github.com/repos/amerinoo/kiwix-android/issues{/number}","pulls_url":"https://api.github.com/repos/amerinoo/kiwix-android/pulls{/number}","milestones_url":"https://api.github.com/repos/amerinoo/kiwix-android/milestones{/number}","notifications_url":"https://api.github.com/repos/amerinoo/kiwix-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amerinoo/kiwix-android/labels{/name}","releases_url":"https://api.github.com/repos/amerinoo/kiwix-android/releases{/id}","deployments_url":"https://api.github.com/repos/amerinoo/kiwix-android/deployments","created_at":"2018-03-01T22:26:22Z","updated_at":"2018-03-01T22:26:25Z","pushed_at":"2018-03-02T04:26:25Z","git_url":"git://github.com/amerinoo/kiwix-android.git","ssh_url":"git@github.com:amerinoo/kiwix-android.git","clone_url":"https://github.com/amerinoo/kiwix-android.git","svn_url":"https://github.com/amerinoo/kiwix-android","homepage":"http://android.kiwix.org","size":149040,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"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":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kiwix:ISNIT0/instrumentation","ref":"ISNIT0/instrumentation","sha":"bea032c2accdec098a9b6e7a36a854ac810b70c2","user":{"login":"kiwix","id":826219,"avatar_url":"https://avatars3.githubusercontent.com/u/826219?v=4","gravatar_id":"","url":"https://api.github.com/users/kiwix","html_url":"https://github.com/kiwix","followers_url":"https://api.github.com/users/kiwix/followers","following_url":"https://api.github.com/users/kiwix/following{/other_user}","gists_url":"https://api.github.com/users/kiwix/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwix/subscriptions","organizations_url":"https://api.github.com/users/kiwix/orgs","repos_url":"https://api.github.com/users/kiwix/repos","events_url":"https://api.github.com/users/kiwix/events{/privacy}","received_events_url":"https://api.github.com/users/kiwix/received_events","type":"Organization","site_admin":false},"repo":{"id":79377628,"name":"kiwix-android","full_name":"kiwix/kiwix-android","owner":{"login":"kiwix","id":826219,"avatar_url":"https://avatars3.githubusercontent.com/u/826219?v=4","gravatar_id":"","url":"https://api.github.com/users/kiwix","html_url":"https://github.com/kiwix","followers_url":"https://api.github.com/users/kiwix/followers","following_url":"https://api.github.com/users/kiwix/following{/other_user}","gists_url":"https://api.github.com/users/kiwix/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwix/subscriptions","organizations_url":"https://api.github.com/users/kiwix/orgs","repos_url":"https://api.github.com/users/kiwix/repos","events_url":"https://api.github.com/users/kiwix/events{/privacy}","received_events_url":"https://api.github.com/users/kiwix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kiwix/kiwix-android","description":"Kiwix port for offline on Android","fork":false,"url":"https://api.github.com/repos/kiwix/kiwix-android","forks_url":"https://api.github.com/repos/kiwix/kiwix-android/forks","keys_url":"https://api.github.com/repos/kiwix/kiwix-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kiwix/kiwix-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kiwix/kiwix-android/teams","hooks_url":"https://api.github.com/repos/kiwix/kiwix-android/hooks","issue_events_url":"https://api.github.com/repos/kiwix/kiwix-android/issues/events{/number}","events_url":"https://api.github.com/repos/kiwix/kiwix-android/events","assignees_url":"https://api.github.com/repos/kiwix/kiwix-android/assignees{/user}","branches_url":"https://api.github.com/repos/kiwix/kiwix-android/branches{/branch}","tags_url":"https://api.github.com/repos/kiwix/kiwix-android/tags","blobs_url":"https://api.github.com/repos/kiwix/kiwix-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kiwix/kiwix-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kiwix/kiwix-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/kiwix/kiwix-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kiwix/kiwix-android/statuses/{sha}","languages_url":"https://api.github.com/repos/kiwix/kiwix-android/languages","stargazers_url":"https://api.github.com/repos/kiwix/kiwix-android/stargazers","contributors_url":"https://api.github.com/repos/kiwix/kiwix-android/contributors","subscribers_url":"https://api.github.com/repos/kiwix/kiwix-android/subscribers","subscription_url":"https://api.github.com/repos/kiwix/kiwix-android/subscription","commits_url":"https://api.github.com/repos/kiwix/kiwix-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/kiwix/kiwix-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/kiwix/kiwix-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/kiwix/kiwix-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/kiwix/kiwix-android/contents/{+path}","compare_url":"https://api.github.com/repos/kiwix/kiwix-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kiwix/kiwix-android/merges","archive_url":"https://api.github.com/repos/kiwix/kiwix-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kiwix/kiwix-android/downloads","issues_url":"https://api.github.com/repos/kiwix/kiwix-android/issues{/number}","pulls_url":"https://api.github.com/repos/kiwix/kiwix-android/pulls{/number}","milestones_url":"https://api.github.com/repos/kiwix/kiwix-android/milestones{/number}","notifications_url":"https://api.github.com/repos/kiwix/kiwix-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kiwix/kiwix-android/labels{/name}","releases_url":"https://api.github.com/repos/kiwix/kiwix-android/releases{/id}","deployments_url":"https://api.github.com/repos/kiwix/kiwix-android/deployments","created_at":"2017-01-18T19:48:46Z","updated_at":"2018-03-02T01:08:08Z","pushed_at":"2018-03-02T03:47:31Z","git_url":"git://github.com/kiwix/kiwix-android.git","ssh_url":"git@github.com:kiwix/kiwix-android.git","clone_url":"https://github.com/kiwix/kiwix-android.git","svn_url":"https://github.com/kiwix/kiwix-android","homepage":"http://android.kiwix.org","size":149029,"stargazers_count":53,"watchers_count":53,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":84,"mirror_url":null,"archived":false,"open_issues_count":185,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":84,"open_issues":185,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kiwix/kiwix-android/pulls/546"},"html":{"href":"https://github.com/kiwix/kiwix-android/pull/546"},"issue":{"href":"https://api.github.com/repos/kiwix/kiwix-android/issues/546"},"comments":{"href":"https://api.github.com/repos/kiwix/kiwix-android/issues/546/comments"},"review_comments":{"href":"https://api.github.com/repos/kiwix/kiwix-android/pulls/546/comments"},"review_comment":{"href":"https://api.github.com/repos/kiwix/kiwix-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kiwix/kiwix-android/pulls/546/commits"},"statuses":{"href":"https://api.github.com/repos/kiwix/kiwix-android/statuses/e9de9aa15d15987f5082e7a0ab4ae96743735d3d"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":28,"deletions":9,"changed_files":2}}
{"actor":{"display_login":"amerinoo"}}