{"action":"created","issue":{"url":"https://api.github.com/repos/SundeepK/CompactCalendarView/issues/88","repository_url":"https://api.github.com/repos/SundeepK/CompactCalendarView","labels_url":"https://api.github.com/repos/SundeepK/CompactCalendarView/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/SundeepK/CompactCalendarView/issues/88/comments","events_url":"https://api.github.com/repos/SundeepK/CompactCalendarView/issues/88/events","html_url":"https://github.com/SundeepK/CompactCalendarView/issues/88","id":163690292,"number":88,"title":"No Month Name","user":{"login":"AriezF","id":1471563,"avatar_url":"https://avatars.githubusercontent.com/u/1471563?v=3","gravatar_id":"","url":"https://api.github.com/users/AriezF","html_url":"https://github.com/AriezF","followers_url":"https://api.github.com/users/AriezF/followers","following_url":"https://api.github.com/users/AriezF/following{/other_user}","gists_url":"https://api.github.com/users/AriezF/gists{/gist_id}","starred_url":"https://api.github.com/users/AriezF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AriezF/subscriptions","organizations_url":"https://api.github.com/users/AriezF/orgs","repos_url":"https://api.github.com/users/AriezF/repos","events_url":"https://api.github.com/users/AriezF/events{/privacy}","received_events_url":"https://api.github.com/users/AriezF/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-04T14:40:35Z","updated_at":"2016-07-05T09:26:49Z","closed_at":null,"body":"I'm using note 5 to display this calendar,. there is no month name."},"comment":{"url":"https://api.github.com/repos/SundeepK/CompactCalendarView/issues/comments/230430098","html_url":"https://github.com/SundeepK/CompactCalendarView/issues/88#issuecomment-230430098","issue_url":"https://api.github.com/repos/SundeepK/CompactCalendarView/issues/88","id":230430098,"user":{"login":"SundeepK","id":2339563,"avatar_url":"https://avatars.githubusercontent.com/u/2339563?v=3","gravatar_id":"","url":"https://api.github.com/users/SundeepK","html_url":"https://github.com/SundeepK","followers_url":"https://api.github.com/users/SundeepK/followers","following_url":"https://api.github.com/users/SundeepK/following{/other_user}","gists_url":"https://api.github.com/users/SundeepK/gists{/gist_id}","starred_url":"https://api.github.com/users/SundeepK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SundeepK/subscriptions","organizations_url":"https://api.github.com/users/SundeepK/orgs","repos_url":"https://api.github.com/users/SundeepK/repos","events_url":"https://api.github.com/users/SundeepK/events{/privacy}","received_events_url":"https://api.github.com/users/SundeepK/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T09:26:49Z","updated_at":"2016-07-05T09:26:49Z","body":"Here is an example: \r\nhttps://github.com/SundeepK/CompactCalendarView/blob/master/sample/src/main/java/sundeepk/github/com/sample/CompactCalendarTab.java#L87\r\n\r\nBasically, you register a callback listener. When you scroll a month, you get notified along with the date. You can then update your text view or toolbar with the date. The link above works with toolbar.\r\n\r\nHere's an example of the `onCreateView` for a fragment:\r\n\r\n```java\r\n\r\n    @Override\r\n    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\r\n        View v = inflater.inflate(R.layout.main_tab,container,false);\r\n        // get the calendar\r\n        final CompactCalendarView compactCalendarView = (CompactCalendarView) v.findViewById(R.id.compactcalendar_view);\r\n        //set initial title\r\n        // get the Toolbar\r\n        final ActionBar toolbar = ((ActionBarActivity) getActivity()).getSupportActionBar();\r\n        toolbar.setTitle(dateFormatForMonth.format(compactCalendarView.getFirstDayOfCurrentMonth()));\r\n\r\n        //set title on calendar scroll\r\n        compactCalendarView.setListener(new CompactCalendarView.CompactCalendarViewListener() {\r\n            @Override\r\n            public void onDayClick(Date dateClicked) {\r\n            }\r\n\r\n            @Override\r\n            public void onMonthScroll(Date firstDayOfNewMonth) {\r\n                toolbar.setTitle(dateFormatForMonth.format(firstDayOfNewMonth));\r\n            }\r\n        });\r\n\r\n        return v;\r\n}\r\n\r\n```\r\n\r\nRemember, you don't have to use a toolbar, you can display however you want. As long as you update the view on month scroll, it wil update when ever someone scrolls."}}
{"actor":{"display_login":"SundeepK"}}