{"action":"closed","issue":{"url":"https://api.github.com/repos/codepath/android_guides/issues/111","labels_url":"https://api.github.com/repos/codepath/android_guides/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/codepath/android_guides/issues/111/comments","events_url":"https://api.github.com/repos/codepath/android_guides/issues/111/events","html_url":"https://github.com/codepath/android_guides/issues/111","id":115643033,"number":111,"title":"saving-and-restoring-activity-state should mention onCreate","user":{"login":"gregd","id":59068,"avatar_url":"https://avatars.githubusercontent.com/u/59068?v=3","gravatar_id":"","url":"https://api.github.com/users/gregd","html_url":"https://github.com/gregd","followers_url":"https://api.github.com/users/gregd/followers","following_url":"https://api.github.com/users/gregd/following{/other_user}","gists_url":"https://api.github.com/users/gregd/gists{/gist_id}","starred_url":"https://api.github.com/users/gregd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregd/subscriptions","organizations_url":"https://api.github.com/users/gregd/orgs","repos_url":"https://api.github.com/users/gregd/repos","events_url":"https://api.github.com/users/gregd/events{/privacy}","received_events_url":"https://api.github.com/users/gregd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-07T07:11:28Z","updated_at":"2015-11-08T01:45:54Z","closed_at":"2015-11-08T01:45:54Z","body":"On page\r\nhttps://guides.codepath.com/android/Handling-Configuration-Changes#saving-and-restoring-activity-state\r\nthe onCreate method is not mentioned. Activity state can be also restored there. This is described quite well on http://stackoverflow.com/a/14676555/3315\r\n\r\nMost important part from SO:\r\n> Most implementations will simply use onCreate(Bundle) to restore their state, but it is sometimes convenient to do it here after all of the initialization has been done or to allow subclasses to decide whether to use your default implementation."}}