{"action":"created","issue":{"url":"https://api.github.com/repos/prolificinteractive/material-calendarview/issues/292","repository_url":"https://api.github.com/repos/prolificinteractive/material-calendarview","labels_url":"https://api.github.com/repos/prolificinteractive/material-calendarview/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/prolificinteractive/material-calendarview/issues/292/comments","events_url":"https://api.github.com/repos/prolificinteractive/material-calendarview/issues/292/events","html_url":"https://github.com/prolificinteractive/material-calendarview/issues/292","id":154142950,"number":292,"title":"getItemPosition (and possibly indexOf, etc) returning wrong index for WeekMode","user":{"login":"ekchang","id":10266208,"avatar_url":"https://avatars.githubusercontent.com/u/10266208?v=3","gravatar_id":"","url":"https://api.github.com/users/ekchang","html_url":"https://github.com/ekchang","followers_url":"https://api.github.com/users/ekchang/followers","following_url":"https://api.github.com/users/ekchang/following{/other_user}","gists_url":"https://api.github.com/users/ekchang/gists{/gist_id}","starred_url":"https://api.github.com/users/ekchang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekchang/subscriptions","organizations_url":"https://api.github.com/users/ekchang/orgs","repos_url":"https://api.github.com/users/ekchang/repos","events_url":"https://api.github.com/users/ekchang/events{/privacy}","received_events_url":"https://api.github.com/users/ekchang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/prolificinteractive/material-calendarview/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-11T01:43:03Z","updated_at":"2016-05-12T14:34:05Z","closed_at":null,"body":"#285 #291\r\n\r\nReproducible by creating a RV of MCVs, setting them to Week mode, and scrolling them off screen to trigger `CalendarPagerAdapter#getItemPosition` and calling `setMinimumDate(today)` during `onBind`. As of 05/10/2016, on creation the calendar shows week of 05/04 - 05/10, but scroll through and it will rebind as 04/27 - 05/03. This is because month mode would have shown `minDate` as 04/27 (which is correct) but week mode has no intelligent way of setting a narrower minDate at the moment."},"comment":{"url":"https://api.github.com/repos/prolificinteractive/material-calendarview/issues/comments/218776296","html_url":"https://github.com/prolificinteractive/material-calendarview/issues/292#issuecomment-218776296","issue_url":"https://api.github.com/repos/prolificinteractive/material-calendarview/issues/292","id":218776296,"user":{"login":"quentin41500","id":9137576,"avatar_url":"https://avatars.githubusercontent.com/u/9137576?v=3","gravatar_id":"","url":"https://api.github.com/users/quentin41500","html_url":"https://github.com/quentin41500","followers_url":"https://api.github.com/users/quentin41500/followers","following_url":"https://api.github.com/users/quentin41500/following{/other_user}","gists_url":"https://api.github.com/users/quentin41500/gists{/gist_id}","starred_url":"https://api.github.com/users/quentin41500/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quentin41500/subscriptions","organizations_url":"https://api.github.com/users/quentin41500/orgs","repos_url":"https://api.github.com/users/quentin41500/repos","events_url":"https://api.github.com/users/quentin41500/events{/privacy}","received_events_url":"https://api.github.com/users/quentin41500/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T14:34:05Z","updated_at":"2016-05-12T14:34:05Z","body":"Related to #222 "}}