Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dot_color = colorPicker_value;
- calendarView.setEventDataProvider(new FlexibleCalendarView.EventDataProvider() {
- @Override
- public List<? extends Event> getEventsForTheDay(int year, int month, int day) {
- if (year == year_i && month == month_i_2 && day == today_i) {
- List<CustomEvent> colorLst1 = new ArrayList<>();
- if (dot_color != 0) {
- colorLst1.add(new CustomEvent(dot_color));
- }
- return colorLst1;
- }
- return null;
- }
- });
- return rootView;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement