{"action":"closed","issue":{"url":"https://api.github.com/repos/roomorama/Caldroid/issues/185","labels_url":"https://api.github.com/repos/roomorama/Caldroid/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/roomorama/Caldroid/issues/185/comments","events_url":"https://api.github.com/repos/roomorama/Caldroid/issues/185/events","html_url":"https://github.com/roomorama/Caldroid/issues/185","id":49096257,"number":185,"title":"Caldroid dates disappear on rotation","user":{"login":"ghon2","id":9802018,"avatar_url":"https://avatars.githubusercontent.com/u/9802018?v=3","gravatar_id":"","url":"https://api.github.com/users/ghon2","html_url":"https://github.com/ghon2","followers_url":"https://api.github.com/users/ghon2/followers","following_url":"https://api.github.com/users/ghon2/following{/other_user}","gists_url":"https://api.github.com/users/ghon2/gists{/gist_id}","starred_url":"https://api.github.com/users/ghon2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghon2/subscriptions","organizations_url":"https://api.github.com/users/ghon2/orgs","repos_url":"https://api.github.com/users/ghon2/repos","events_url":"https://api.github.com/users/ghon2/events{/privacy}","received_events_url":"https://api.github.com/users/ghon2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-11-17T14:33:44Z","updated_at":"2015-02-10T03:45:02Z","closed_at":"2015-02-10T03:45:02Z","body":"When using Caldroid, the calendar appears each time it is first launched, (both landscape and portrait). However, on rotation, only the month name and days of the week appear - the dates are not shown.\r\nThis appears similar to issue #10, but is still happening.\r\n\r\nI've used caldroid as follows:\r\n\r\n\tstatic CaldroidFragment caldroidFragment;\r\n\r\n\tprotected void onCreate(Bundle savedInstanceState) {\r\n\t\tif (savedInstanceState != null && caldroidFragment != null) {\r\n\t\t\t  caldroidFragment.restoreStatesFromKey(savedInstanceState, \"CALDROID_SAVED_STATE\");\r\n\t\t}\r\n\r\n\tpublic void launchFrag(String frag) {\r\n\t\t\tcaldroidFragment = new CaldroidFragment();\r\n\t\t\tBundle args = new Bundle();\r\n\t\t\tCalendar cal = Calendar.getInstance();\r\n\t\t\targs.putInt(CaldroidFragment.MONTH, cal.get(Calendar.MONTH) + 1);\r\n\t\t\targs.putInt(CaldroidFragment.YEAR, cal.get(Calendar.YEAR));\r\n\t\t\targs.putBoolean(CaldroidFragment.ENABLE_SWIPE, true);\r\n\t\t\targs.putBoolean(CaldroidFragment.SIX_WEEKS_IN_CALENDAR, true);\r\n\t\t\tcaldroidFragment.setArguments(args);\r\n\r\n\t\t\ttransaction = manager.beginTransaction();\r\n\t\t\ttransaction.replace(R.id.main_activity_layout, caldroidFragment);\r\n\t\t\ttransaction.addToBackStack(\"caldroid\");\r\n\t\t\ttransaction.commit();\r\n\r\n\tprotected void onSaveInstanceState(Bundle outState) {\r\n\t\tif (caldroidFragment != null) {\r\n\t        caldroidFragment.saveStatesToKey(outState, \"CALDROID_SAVED_STATE\");\r\n\r\n\r\nCaldroid Fragment after starting:\r\n![sc20141117-143013](https://cloud.githubusercontent.com/assets/9802018/5071184/8c424edc-6e66-11e4-8b3f-c428dd19db62.png)\r\n\r\nCaldroid Fragment after rotation:\r\n![sc20141117-143022](https://cloud.githubusercontent.com/assets/9802018/5071191/991299b4-6e66-11e4-88de-cd1c40b4c511.png)\r\n\r\n\r\n"}}