{"action":"created","issue":{"url":"https://api.github.com/repos/neokree/MaterialNavigationDrawer/issues/284","labels_url":"https://api.github.com/repos/neokree/MaterialNavigationDrawer/issues/284/labels{/name}","comments_url":"https://api.github.com/repos/neokree/MaterialNavigationDrawer/issues/284/comments","events_url":"https://api.github.com/repos/neokree/MaterialNavigationDrawer/issues/284/events","html_url":"https://github.com/neokree/MaterialNavigationDrawer/issues/284","id":71302472,"number":284,"title":"Selected fragment state is lost on rotation in master-child case","user":{"login":"Zhuinden","id":11718392,"avatar_url":"https://avatars.githubusercontent.com/u/11718392?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhuinden","html_url":"https://github.com/Zhuinden","followers_url":"https://api.github.com/users/Zhuinden/followers","following_url":"https://api.github.com/users/Zhuinden/following{/other_user}","gists_url":"https://api.github.com/users/Zhuinden/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhuinden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhuinden/subscriptions","organizations_url":"https://api.github.com/users/Zhuinden/orgs","repos_url":"https://api.github.com/users/Zhuinden/repos","events_url":"https://api.github.com/users/Zhuinden/events{/privacy}","received_events_url":"https://api.github.com/users/Zhuinden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-27T14:37:08Z","updated_at":"2015-05-02T17:50:51Z","closed_at":null,"body":"The displayed fragment remains the correct fragment, but when using BackPattern `BACKPATTERN_BACK_TO_FIRST` (and possibly other back patterns too), if you rotate the device, then the drawer forgets its \"backstack\" and shows Drawer button instead of Up, and also pressing Back button closes app.\r\n\r\nThis is in case of MASTER-CHILD example. The Child Fragment Stack is **not preserved upon orientation change**.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/neokree/MaterialNavigationDrawer/issues/comments/98382487","html_url":"https://github.com/neokree/MaterialNavigationDrawer/issues/284#issuecomment-98382487","issue_url":"https://api.github.com/repos/neokree/MaterialNavigationDrawer/issues/284","id":98382487,"user":{"login":"Zhuinden","id":11718392,"avatar_url":"https://avatars.githubusercontent.com/u/11718392?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhuinden","html_url":"https://github.com/Zhuinden","followers_url":"https://api.github.com/users/Zhuinden/followers","following_url":"https://api.github.com/users/Zhuinden/following{/other_user}","gists_url":"https://api.github.com/users/Zhuinden/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhuinden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhuinden/subscriptions","organizations_url":"https://api.github.com/users/Zhuinden/orgs","repos_url":"https://api.github.com/users/Zhuinden/repos","events_url":"https://api.github.com/users/Zhuinden/events{/privacy}","received_events_url":"https://api.github.com/users/Zhuinden/received_events","type":"User","site_admin":false},"created_at":"2015-05-02T17:50:51Z","updated_at":"2015-05-02T17:50:51Z","body":"The variables that would need to be preserved in onSaveInstanceState() are private, therefore I did not bother with coming up with a fix myself."}}