{"action":"created","issue":{"url":"https://api.github.com/repos/gantonious/MaterialDayPicker/issues/2","repository_url":"https://api.github.com/repos/gantonious/MaterialDayPicker","labels_url":"https://api.github.com/repos/gantonious/MaterialDayPicker/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/gantonious/MaterialDayPicker/issues/2/comments","events_url":"https://api.github.com/repos/gantonious/MaterialDayPicker/issues/2/events","html_url":"https://github.com/gantonious/MaterialDayPicker/issues/2","id":309336143,"number":2,"title":"How to get the selected/unselected days","user":{"login":"HBiSoft","id":35602540,"avatar_url":"https://avatars1.githubusercontent.com/u/35602540?v=4","gravatar_id":"","url":"https://api.github.com/users/HBiSoft","html_url":"https://github.com/HBiSoft","followers_url":"https://api.github.com/users/HBiSoft/followers","following_url":"https://api.github.com/users/HBiSoft/following{/other_user}","gists_url":"https://api.github.com/users/HBiSoft/gists{/gist_id}","starred_url":"https://api.github.com/users/HBiSoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HBiSoft/subscriptions","organizations_url":"https://api.github.com/users/HBiSoft/orgs","repos_url":"https://api.github.com/users/HBiSoft/repos","events_url":"https://api.github.com/users/HBiSoft/events{/privacy}","received_events_url":"https://api.github.com/users/HBiSoft/received_events","type":"User","site_admin":false},"labels":[{"id":740671325,"url":"https://api.github.com/repos/gantonious/MaterialDayPicker/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-03-28T11:58:23Z","updated_at":"2018-03-28T19:02:39Z","closed_at":"2018-03-28T18:24:44Z","author_association":"NONE","body":"In your example you have the following:\r\n\r\n```\r\npublic class MainActivity extends AppCompatActivity {\r\n    @Override\r\n    protected void onCreate(Bundle savedInstanceState) {\r\n        super.onCreate(savedInstanceState);\r\n        setContentView(R.layout.activity_main);\r\n\r\n        MaterialDayPicker materialDayPicker = findViewById(R.id.dayPicker);\r\n        materialDayPicker.setDaySelectionChangedListener(new MaterialDayPicker.DaySelectionChangedListener() {\r\n            @Override\r\n            public void onDaySelectionChanged(List<MaterialDayPicker.Weekday> selectedDays) {\r\n                Toast.makeText(MainActivity.this, \"Days Changed\", Toast.LENGTH_SHORT).show();\r\n            }\r\n        });\r\n\r\n        materialDayPicker.setSelectedDays(MaterialDayPicker.Weekday.MONDAY);\r\n    }\r\n}\r\n```\r\n\r\nBUT, you don't actually show how we can check what day was selected?\r\n\r\n\r\nI did try:\r\n\r\n```\r\nif (daysSelected.contains(\"MaterialDayPicker.Weekday.TUESDAY\")) {\r\n    Toast.makeText(getContext(), \"TUESDAY\", Toast.LENGTH_SHORT).show();\r\n}\r\n\r\n```\r\n\r\nBut obviously I can't pass a String value.\r\n\r\nI really would like to use this in my project, can you please let me know how this is possible?"},"comment":{"url":"https://api.github.com/repos/gantonious/MaterialDayPicker/issues/comments/376999743","html_url":"https://github.com/gantonious/MaterialDayPicker/issues/2#issuecomment-376999743","issue_url":"https://api.github.com/repos/gantonious/MaterialDayPicker/issues/2","id":376999743,"user":{"login":"HBiSoft","id":35602540,"avatar_url":"https://avatars1.githubusercontent.com/u/35602540?v=4","gravatar_id":"","url":"https://api.github.com/users/HBiSoft","html_url":"https://github.com/HBiSoft","followers_url":"https://api.github.com/users/HBiSoft/followers","following_url":"https://api.github.com/users/HBiSoft/following{/other_user}","gists_url":"https://api.github.com/users/HBiSoft/gists{/gist_id}","starred_url":"https://api.github.com/users/HBiSoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HBiSoft/subscriptions","organizations_url":"https://api.github.com/users/HBiSoft/orgs","repos_url":"https://api.github.com/users/HBiSoft/repos","events_url":"https://api.github.com/users/HBiSoft/events{/privacy}","received_events_url":"https://api.github.com/users/HBiSoft/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T19:02:39Z","updated_at":"2018-03-28T19:02:39Z","author_association":"NONE","body":"@gantonious Yes exactly"}}
{"actor":{"display_login":"HBiSoft"}}