GithubHelp home page GithubHelp logo

Comments (3)

jhoobergs avatar jhoobergs commented on July 17, 2024

Hi @AbhijeetRukmangad

You mean that 2 all day events are placed on top of each other instead of side to side ?
What do you exactly mean with dynamically adjusting header height ?

You have to change things at https://github.com/Quivr/Android-Week-View/blob/develop/library/src/main/java/com/alamkanak/weekview/WeekView.java#L686 , here https://github.com/Quivr/Android-Week-View/blob/develop/library/src/main/java/com/alamkanak/weekview/WeekView.java#L929 and some other places you will find by searching for allDay in WeekView.java

from android-week-view.

AbhijeetRukmangad avatar AbhijeetRukmangad commented on July 17, 2024

Thanks a lot @jhoobergs. your tip did help. I missed updates in getHeaderHeight()..

I wanted to show vertical list of allday events rather than horizontal. I did achieve this.

Now I am stuck with event loading part. I load events from server so I get them asynchronously. But weekview expects event to be loaded asynchronously through onMonthChange(..) method.

How can I make it asynchronous where in I will just supply events as I get and weekview should be able to grab them.

from android-week-view.

jhoobergs avatar jhoobergs commented on July 17, 2024

You can start by looking at https://github.com/Quivr/Android-Week-View/blob/develop/sample/src/main/java/com/alamkanak/weekview/sample/AsynchronousActivity.java#L29

Or change you api to return the events per month.

from android-week-view.

Related Issues (20)

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.