{"action":"closed","issue":{"url":"https://api.github.com/repos/prolificinteractive/material-calendarview/issues/541","repository_url":"https://api.github.com/repos/prolificinteractive/material-calendarview","labels_url":"https://api.github.com/repos/prolificinteractive/material-calendarview/issues/541/labels{/name}","comments_url":"https://api.github.com/repos/prolificinteractive/material-calendarview/issues/541/comments","events_url":"https://api.github.com/repos/prolificinteractive/material-calendarview/issues/541/events","html_url":"https://github.com/prolificinteractive/material-calendarview/issues/541","id":216641708,"number":541,"title":"Selecting multiple dates using setDateSelected()","user":{"login":"MariposaMarie","id":11483092,"avatar_url":"https://avatars1.githubusercontent.com/u/11483092?v=3","gravatar_id":"","url":"https://api.github.com/users/MariposaMarie","html_url":"https://github.com/MariposaMarie","followers_url":"https://api.github.com/users/MariposaMarie/followers","following_url":"https://api.github.com/users/MariposaMarie/following{/other_user}","gists_url":"https://api.github.com/users/MariposaMarie/gists{/gist_id}","starred_url":"https://api.github.com/users/MariposaMarie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MariposaMarie/subscriptions","organizations_url":"https://api.github.com/users/MariposaMarie/orgs","repos_url":"https://api.github.com/users/MariposaMarie/repos","events_url":"https://api.github.com/users/MariposaMarie/events{/privacy}","received_events_url":"https://api.github.com/users/MariposaMarie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-24T04:16:28Z","updated_at":"2017-04-07T03:26:27Z","closed_at":"2017-04-07T03:26:27Z","body":"I've used:\r\ncalendarView.setDateSelected(CalendarDay.today(), true);\r\ncalendarView.setDateSelected(CalendarDay.from(2017, 3, 19), true);\r\n\r\nbut can't seem to get calendarView.setDateSelected(CalendarDay.from(2017, 3, 19), true); to show up on the calendar. Any suggestions? What may I be doing wrong? The entire class is attached below: \r\n\r\n`    public class StatsActivity extends AppCompatActivity {\r\n\r\n    private MaterialCalendarView calendarView;\r\n    private ArrayList<Date> dates;\r\n    private Date date = new Date();\r\n    Calendar cal = Calendar.getInstance();\r\n\r\n\r\n    public StatsActivity() throws ParseException {\r\n    }\r\n\r\n    @Override\r\n    protected void onCreate(Bundle savedInstanceState) {\r\n        super.onCreate(savedInstanceState);\r\n        setContentView(R.layout.activity_stats);\r\n\r\n        calendarView = (MaterialCalendarView) findViewById(R.id.calendarView);\r\n        initializeCalendar();\r\n    }\r\n\r\n    private void initializeCalendar() {\r\n        calendarView.setSelectionMode(SELECTION_MODE_MULTIPLE); // Removes onClick functionality\r\n\r\n        cal.add(Calendar.DATE, -1);\r\n        calendarView.setDateSelected(cal.getTime(), true);\r\n        calendarView.setDateSelected(CalendarDay.today(), true);\r\n        calendarView.setDateSelected(CalendarDay.from(2017, 3, 19), true);\r\n    }\r\n`\r\n\r\n<img width=\"341\" alt=\"screen shot 2017-03-24 at 12 15 54 am\" src=\"https://cloud.githubusercontent.com/assets/11483092/24280456/1272612c-1027-11e7-91d2-b3e067bf81b1.png\">\r\n\r\nAs you can see, 3/19/2017 isn't selected"}}
{"actor":{"display_login":"MariposaMarie"}}