Giter Site home page Giter Site logo

Comments (7)

SundeepK avatar SundeepK commented on May 4, 2024

Hi, I'm not sure I understand the question. Can you explain with a little more detail what exactly you need? Maybe add some sample code?

from compactcalendarview.

Debdeep1234 avatar Debdeep1234 commented on May 4, 2024

screenshot_2015-12-11-20-53-02 1
screenshot_2015-12-11-20-53-20 1

Please see the uploaded screenshot....and please help me

from compactcalendarview.

SundeepK avatar SundeepK commented on May 4, 2024

Ok well you havn't explained what you want. But from what I can see is you want to have scrolling with buttons and not with finger touch. Have a look at the sample that comes with the library. Basically, you need to disable scrolling:

compactCalendarView.shouldScrollMonth(false);

Then you want to create 2 buttons for scrolling previous month and next month:

        showPreviousMonthBut.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                compactCalendarView.showPreviousMonth();
            }
        });

        showNextMonthBut.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                compactCalendarView.showCalendarWithAnimation();

                // compactCalendarView.showNextMonth();
            }
        });

This is all in the sample app, so have a look.

from compactcalendarview.

kppf avatar kppf commented on May 4, 2024

The Enhancement needed by the @Debdeep1234 is that the next and previous month's dates are shown in current month Calendar.

E.g. Month starts on Wednesday
So in the first row, Monday and Tuesday are currently blank - he wants to show 30 and 31 there.

E.g. Month ends on Thursday.
Then show next month's 1 2 3 on Friday Saturday Sunday instead of leaving that space blank.

Check the circled/oval-ed numbers in attached image

69439fec-a049-11e5-9e32-983d20f377a6

from compactcalendarview.

SundeepK avatar SundeepK commented on May 4, 2024

Thanks @kppf for making that more clear.

from compactcalendarview.

Debdeep1234 avatar Debdeep1234 commented on May 4, 2024

please any one help me

from compactcalendarview.

SundeepK avatar SundeepK commented on May 4, 2024

This has now been merged. Will update with a new version once its released.

from compactcalendarview.

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.