{"action":"created","issue":{"url":"https://api.github.com/repos/konifar/droidkaigi2016/issues/108","repository_url":"https://api.github.com/repos/konifar/droidkaigi2016","labels_url":"https://api.github.com/repos/konifar/droidkaigi2016/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/konifar/droidkaigi2016/issues/108/comments","events_url":"https://api.github.com/repos/konifar/droidkaigi2016/issues/108/events","html_url":"https://github.com/konifar/droidkaigi2016/pull/108","id":132446696,"number":108,"title":"Fix issue of don't keep activities","user":{"login":"sys1yagi","id":749051,"avatar_url":"https://avatars.githubusercontent.com/u/749051?v=3","gravatar_id":"","url":"https://api.github.com/users/sys1yagi","html_url":"https://github.com/sys1yagi","followers_url":"https://api.github.com/users/sys1yagi/followers","following_url":"https://api.github.com/users/sys1yagi/following{/other_user}","gists_url":"https://api.github.com/users/sys1yagi/gists{/gist_id}","starred_url":"https://api.github.com/users/sys1yagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sys1yagi/subscriptions","organizations_url":"https://api.github.com/users/sys1yagi/orgs","repos_url":"https://api.github.com/users/sys1yagi/repos","events_url":"https://api.github.com/users/sys1yagi/events{/privacy}","received_events_url":"https://api.github.com/users/sys1yagi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/konifar/droidkaigi2016/labels/bug","name":"bug","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/konifar/droidkaigi2016/milestones/1","html_url":"https://github.com/konifar/droidkaigi2016/milestones/1.0.0","labels_url":"https://api.github.com/repos/konifar/droidkaigi2016/milestones/1/labels","id":1560822,"number":1,"title":"1.0.0","description":"","creator":{"login":"konifar","id":1269214,"avatar_url":"https://avatars.githubusercontent.com/u/1269214?v=3","gravatar_id":"","url":"https://api.github.com/users/konifar","html_url":"https://github.com/konifar","followers_url":"https://api.github.com/users/konifar/followers","following_url":"https://api.github.com/users/konifar/following{/other_user}","gists_url":"https://api.github.com/users/konifar/gists{/gist_id}","starred_url":"https://api.github.com/users/konifar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konifar/subscriptions","organizations_url":"https://api.github.com/users/konifar/orgs","repos_url":"https://api.github.com/users/konifar/repos","events_url":"https://api.github.com/users/konifar/events{/privacy}","received_events_url":"https://api.github.com/users/konifar/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":25,"state":"open","created_at":"2016-02-03T11:10:18Z","updated_at":"2016-02-11T07:32:44Z","due_on":"2016-02-10T15:00:00Z","closed_at":null},"comments":9,"created_at":"2016-02-09T15:20:59Z","updated_at":"2016-02-11T07:36:52Z","closed_at":"2016-02-11T07:32:44Z","pull_request":{"url":"https://api.github.com/repos/konifar/droidkaigi2016/pulls/108","html_url":"https://github.com/konifar/droidkaigi2016/pull/108","diff_url":"https://github.com/konifar/droidkaigi2016/pull/108.diff","patch_url":"https://github.com/konifar/droidkaigi2016/pull/108.patch"},"body":"\r\n## Related issue\r\n\r\n#95 \r\n\r\n## Problem\r\n\r\n>When I opened a detail screen of a talk and go back to the \"All Sessions\" screen with the back button, the app crashed and logged below stack trace.\r\n\r\n## Cause\r\n\r\nCrash point is [SessionsFragment.java#L175](https://github.com/konifar/droidkaigi2016/blob/master/app/src/main/java/io/github/droidkaigi/confsched/fragment/SessionsFragment.java#L175).\r\n\r\n`SessionsFragment#onActivityResult()` is unnecessary. FragmentActivity calls onActivityResult() of the child Fragment automatically. So, you should using the Fragment#startActivityForResult(). \r\n\r\n## Solution\r\n\r\n- 044e13c Initialize a fragment only when savedInstanceState of the Activity is null.\r\n- 965a857 Use Fragment#startActivityForResult(). I added the method for Fragment#startActivityForResult() to ActivityNavigator.\r\n- e8b3245 Remove unnecessary codes.\r\n\r\n## Tests\r\n\r\nVerified the following:\r\n\r\n- [x] With \"Don't keep activities\" on, I opened a session detail and added it to my schedule and return back to the All Sessions to see the session was checked\r\n- [x] With \"Don't keep activities\" off, I opened a session detail and added it to my schedule and return back to the All Sessions to see the session was checked\r\n"},"comment":{"url":"https://api.github.com/repos/konifar/droidkaigi2016/issues/comments/182749484","html_url":"https://github.com/konifar/droidkaigi2016/pull/108#issuecomment-182749484","issue_url":"https://api.github.com/repos/konifar/droidkaigi2016/issues/108","id":182749484,"user":{"login":"sys1yagi","id":749051,"avatar_url":"https://avatars.githubusercontent.com/u/749051?v=3","gravatar_id":"","url":"https://api.github.com/users/sys1yagi","html_url":"https://github.com/sys1yagi","followers_url":"https://api.github.com/users/sys1yagi/followers","following_url":"https://api.github.com/users/sys1yagi/following{/other_user}","gists_url":"https://api.github.com/users/sys1yagi/gists{/gist_id}","starred_url":"https://api.github.com/users/sys1yagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sys1yagi/subscriptions","organizations_url":"https://api.github.com/users/sys1yagi/orgs","repos_url":"https://api.github.com/users/sys1yagi/repos","events_url":"https://api.github.com/users/sys1yagi/events{/privacy}","received_events_url":"https://api.github.com/users/sys1yagi/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T07:36:52Z","updated_at":"2016-02-11T07:36:52Z","body":"thank! I'm writing detail of this change now."}}