{"action":"created","issue":{"url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/116","repository_url":"https://api.github.com/repos/bluelinelabs/Conductor","labels_url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/116/comments","events_url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/116/events","html_url":"https://github.com/bluelinelabs/Conductor/issues/116","id":176332336,"number":116,"title":"onCreateView - why was the savedInstanceState bundle removed","user":{"login":"MFlisar","id":2437726,"avatar_url":"https://avatars.githubusercontent.com/u/2437726?v=3","gravatar_id":"","url":"https://api.github.com/users/MFlisar","html_url":"https://github.com/MFlisar","followers_url":"https://api.github.com/users/MFlisar/followers","following_url":"https://api.github.com/users/MFlisar/following{/other_user}","gists_url":"https://api.github.com/users/MFlisar/gists{/gist_id}","starred_url":"https://api.github.com/users/MFlisar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MFlisar/subscriptions","organizations_url":"https://api.github.com/users/MFlisar/orgs","repos_url":"https://api.github.com/users/MFlisar/repos","events_url":"https://api.github.com/users/MFlisar/events{/privacy}","received_events_url":"https://api.github.com/users/MFlisar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-12T09:33:04Z","updated_at":"2016-09-21T11:39:37Z","closed_at":null,"body":"The title says it all. Quite a lot of libraries allow to automatically restore it's state with a bundle and they can then easily be used like following (example on Mike Penz's drawer):\r\n\r\n     DrawerBuilder builder= new DrawerBuilder()\r\n          .withSavedInstance(savedInstanceState);\r\n\r\nThis means, if I want to use that and I'm depending on views being created already, I have to store the bundle from `onRestoreInstanceState` of the controller?"},"comment":{"url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/comments/248586363","html_url":"https://github.com/bluelinelabs/Conductor/issues/116#issuecomment-248586363","issue_url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/116","id":248586363,"user":{"login":"gregpearce","id":1122830,"avatar_url":"https://avatars.githubusercontent.com/u/1122830?v=3","gravatar_id":"","url":"https://api.github.com/users/gregpearce","html_url":"https://github.com/gregpearce","followers_url":"https://api.github.com/users/gregpearce/followers","following_url":"https://api.github.com/users/gregpearce/following{/other_user}","gists_url":"https://api.github.com/users/gregpearce/gists{/gist_id}","starred_url":"https://api.github.com/users/gregpearce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregpearce/subscriptions","organizations_url":"https://api.github.com/users/gregpearce/orgs","repos_url":"https://api.github.com/users/gregpearce/repos","events_url":"https://api.github.com/users/gregpearce/events{/privacy}","received_events_url":"https://api.github.com/users/gregpearce/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T11:39:37Z","updated_at":"2016-09-21T11:39:37Z","body":"It seems like it would also be useful for `onDestroyView` to have an equivalent `Bundle` argument, which can be used to preserve state across the configuration changes, but also while the view is on the backstack.\r\nIn the default `setRetainViewMode(RELEASE_DETACH)` mode, a view is destroyed when it goes on to the backstack and there is no opportunity to call `onSaveInstanceState` and put the state in a `Bundle`."}}
{"actor":{"display_login":"gregpearce"}}