Tibolte / AgendaCalendarView

[DEPRECATED] An Android project providing easy navigation between a calendar and an agenda. This library replicates the basic features from the Sunrise Calendar (now Outlook) app, coupled with some small design touch from the Google Calendar app.
1.23k stars 337 forks source link

Bug: content overlaps list #131

Open AndroidDeveloperLB opened 6 years ago

AndroidDeveloperLB commented 6 years ago

After long time of struggle to import this repo and build it well (reported here) , I got an issue that the content of the top area overlaps the one at the bottom. I think the top area missed a background:

image

Attached the project. AgendaCalendarView.zip

joielechong commented 6 years ago

This is because EventFetch isn't sent. I've fork the project and make a major change. I'll try to push it tonight.

AndroidDeveloperLB commented 6 years ago

Can you also please check the repo itself? For some reason I had a lot of issues importing it, and ditched Butterknife for normal searching of views...

joielechong commented 6 years ago

For the overlap problem, it's because of EventsFetched in Events.java. But, you should check for the app sample first. It's missing mAgendaCalendarView.enableCalenderView(true); in MainActivity. It should be:

mAgendaCalendarView.init(Locale.getDefault(), readyWeeks, readyDays, readyEvents, this);
mAgendaCalendarView.addEventRenderer(new DrawableEventRenderer());
mAgendaCalendarView.enableCalenderView(true);
AndroidDeveloperLB commented 6 years ago

The app sample is what I tried to run. The screenshot is from there. I don't know about how to fix it. I didn't dive into the code. Sorry. I can't help you with that.