Giter Club home page Giter Club logo

kotlin-agendacalendarview's People

Contributors

marekmacko avatar ognev-zair avatar victornicro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

kotlin-agendacalendarview's Issues

Awesome library! Thank you. I do have a question though

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!

set expended calendar view

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.

new logo

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?

Notify for new values

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))
        }
       
    }

Question and bug: making "notifyDataSetChanged" stay on same place

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

Change Language

I am using this widget, but I came across the problem, I don't know how to change language, I need Serbian.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.