ognev-zair / kotlin-agendacalendarview Goto Github PK
View Code? Open in Web Editor NEWAndroid calendar library provides easy to use widget with events
License: Apache License 2.0
Android calendar library provides easy to use widget with events
License: Apache License 2.0
I tried to use this library on a button click event. It is working but it gets a little bit of time to open the calendar & before open it shows a black screen.
Hi @ognev-zair I was able to configure the calendar and it loads and works very smoothly. What I couldn't figure out yet, is how can I make the top bar that contains the days to start from Monday, and not from Sunday. Could you give me a hit, please? I've tried to set the locale to some local that has the week starting with Monday, but it only changes the calendar language, not the week day name bar.
Thanks you!
How to set expended calendar view, i dont want it to collapsed because when it collapsed it does not scroll to selected date please help.
Can I use this calendar for persian date?
Hi @ognev-zair , I am a graphic designer, I want to help others in graphic design.
After I reviewed your project, you have no logo on this project. Therefore I want to contribute to this project by creating a new logo / icon. what do you think?
today 5 dec 2017 scrolling to March 2018 and selecting any date, does not update the dates shown below to selected one.
Hi,
How can we update the list of adapter ?
val calendarView : AgendaCalendarView = view.findViewById(R.id.agenda_calendar_view)
adapter = AgendaAdapter(this.requireContext())
contentManager = CalendarContentManager(this, calendarView, adapter)
contentManager.setDateRange(minDate, maxDate)
contentManager.locale = Locale.FRENCH
viewModel.interventionsListOfUser.observe(viewLifecycleOwner) { intervention ->
eventList.clear()
intervention.forEach { inter ->
val dayStart = Calendar.getInstance()
dayStart.time = Date(inter.startAt!!)
val dayEnd = Calendar.getInstance()
dayEnd.time = Date(inter.finishAt!!)
val dayItem = DayItem.buildDayItemFromCal(dayStart)
eventList.add(AgendaEvent(dayStart, dayEnd, dayItem, inter))
}
}
I've noticed that whether you scroll to the top or to the bottom, after it finishes loading, you call notifyDataSetChanged
, but the scrolling stay almost on same place, almost perfectly.
How did you do this?
I've written about it here:
https://stackoverflow.com/q/47458429/878126
Also, found an issue about this.
If I let it load, and then I scroll a bit, it doesn't stay on the current place.
Attached video to show issue.
device-2017-11-26-114106.zip
If you're getting the [IllegalStateException: Handling non empty state of parent class is not implemented] crash, you can solve it by adding this line in your activity/fragment, where the agenda calendar view is instantiated. Most probably to happen on Android O, Google phones.
agendaCalendarView.getAgendaView().getAgendaListView().setSaveEnabled(false);
I am using this widget, but I came across the problem, I don't know how to change language, I need Serbian.
@
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.